Skip to main content

Provides the missing pieces for gRPC Gateway.

Project description

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

  1. Run make init
  2. Run make build to generate the code from grpc-gateway and build the package
  3. 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

  1. make distribute

Credits

Original implementation from HackEdu, but Github repository is not available anymore and the Pypi package unmaintained.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grpc_protoc_annotations-2.16.0.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

grpc_protoc_annotations-2.16.0-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page