gRPC Gateway Support
This repo generates the missing Python code to support code generated using
gRPC Gateway protoc annotations.
This package depends on googleapis-common-protos
to provide google.api.annotations_pb2
and others
that the generated code will depend on.
Usage
pip install grpc-protoc-annotations
Building
- Run
make init
- Run
make build
to generate the code from grpc-gateway and build the package - Run
pip install dist/grpc_protoc_annotations-2.14.0-py3-none-any.whl
to install in the current Python
distribution
Publishing (optional)
Setup PyPi credentials and
make distribute
Credits
Original implementation from HackEdu, but Github repository is not available anymore and the Pypi package unmaintained.