Giter Site home page Giter Site logo

cookiecutter-grpc-python's Introduction

cookiecutter-grpc-python

Powered by Cookiecutter, Cookiecutter gRPC Python is a framework for jumpstarting production-ready gRPC Python projects quickly.

Features

  • Makefile
  • Docker-compose
  • .gitignore
  • README.md
  • cookiecutter-options.yml
  • tests for cookiecutter
  • Python client
    • base client
    • client keepalive
    • channel ready (reconnects if connection dropped)
    • client tests
  • Server
    • Healthcheck
    • System Info
    • tests for gRPC service
    • server keepalive
    • Dockerfile
    • docker base image choice
    • endpoint decorator
    • logging framework
    • log server start
    • log endpoint call
    • log level from env var
    • certificates for local development

Usage

First, get Cookiecutter:

$ pip install cookiecutter

Alternatively, you can install cookiecutter with homebrew:

$ brew install cookiecutter

Finally, to run it based on this template, type:

$ cookiecutter https://github.com/lieutdan13/cookiecutter-grpc-python

If you want to re-apply the changes to this cookiecutter, run:

$ cookiecutter https://github.com/lieutdan13/cookiecutter-grpc-python --config-file [location_of_your_project]/cookiecutter-options.yml -f [parent_directory_of_your_project]

options

You will be asked about your basic info (name, project name, app name, etc.). This info will be used to customize your new project.

Warning: After this point, change all default options to your own information.

Answer the prompts with your own desired options.

full_name [John Doe]: 
project_name [gRPC Python]: 
project_slug [grpc-python]: 
app_name [grpc_python]: 
project_short_description [A gRPC service powered by Python.]:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.