Skip to content

code4mk/python-grpc-server-boilerplate

Repository files navigation

Python grpc server boilerplate

This is well strcutured python grpc server boilerplate.

Features

  • good folder structure
  • dockerized
  • interceptors for authentication
  • proto generate script (protobuf to proto generate)
  • hot reload support ***

Run project steps

package install with pipenv

Note

you need to ensure that you have python 3.12+ installed on your machine and pipenv installed

pipenv shell
pipenv install

serve project

./run_project.sh

this will run grpc server on port 50051

docs