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 buildto generate the code from grpc-gateway and build the package - Run
pip install dist/grpc_protoc_annotations-2.14.0-py3-none-any.whlto 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grpc_protoc_annotations-2.16.0.tar.gz.
File metadata
- Download URL: grpc_protoc_annotations-2.16.0.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 |
ee7847dfa74d6b67b098f579e1a5c0510341a637a3dd80c19879e18cb7cc4c01
|
|
| MD5 |
adeb5a96819ec44bf4775fa1b63ebd09
|
|
| BLAKE2b-256 |
5d13f27d8af7be9a0007545a9367985bc02098b5137b33bf69d88cb67753ee60
|
File details
Details for the file grpc_protoc_annotations-2.16.0-py3-none-any.whl.
File metadata
- Download URL: grpc_protoc_annotations-2.16.0-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 |
81135e0de5c03fc5e2c45ea1a786ee12426c82496cb348078404937189bf3c4b
|
|
| MD5 |
0d15d6326ebabd11961d6daaba0bf772
|
|
| BLAKE2b-256 |
c021d3efdcfa7e9e79f3a1d7195cfeb42453a54f2418791f39f4b19ab3edb055
|