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
- 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.
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
Built Distribution
File details
Details for the file grpc_protoc_annotations-2.15.2.tar.gz
.
File metadata
- Download URL: grpc_protoc_annotations-2.15.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a55fa98b71db154681ae194403b51d27b58902bdb593f7991b53fac2d6eb4b |
|
MD5 | 64fb4603d75ba0c236fcec6dc412bb6a |
|
BLAKE2b-256 | 897ada3656e4bca448f99d858d5c7c36966990ea65742d0e4d29120b893a70e3 |
File details
Details for the file grpc_protoc_annotations-2.15.2-py3-none-any.whl
.
File metadata
- Download URL: grpc_protoc_annotations-2.15.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed5c464b02497fb765d6ded16a4132919a2daf11f42dbce952eca2c3ccfda130 |
|
MD5 | 776c0767970650a5c74e74965d209c4b |
|
BLAKE2b-256 | 151e454bb96dc432fc56a299d111f588c020ab26081c4acc8bfbd95ad5c93ae0 |