Skip to main content

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-gateway-protoc-gen-openapiv2

Building

  1. Install go
  2. ./gen-openapi-proto.sh will generate the code from grpc-gateway.
  3. python3 -m pip install --upgrade build && python3 -m build to build the package.
  4. optional - setup PyPi credentials and python3 -m pip install --user --upgrade twine && python3 -m twine upload --repository pypi dist/*

Metadata

Release files for grpc-gateway-protoc-gen-openapiv2 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grpc-gateway-protoc-gen-openapiv2 0.1.0
File Size Uploaded
grpc-gateway-protoc-gen-openapiv2-0.1.0.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grpc-gateway-protoc-gen-openapiv2 0.1.0
File Interpreter ABI Platform
grpc_gateway_protoc_gen_openapiv2-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.3 kB

Release files / grpc-gateway-protoc-gen-openapiv2-0.1.0.tar.gz

Download URL grpc-gateway-protoc-gen-openapiv2-0.1.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
03b8934080ae81f709af041e4f89694db586a95ff35abba05d033d499811d4f6
BLAKE2b-256 checksum
How to use checksums
4ac20eb08365c8e8e84be7d257bf83490630ed323e916b7651dfb81418057b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / grpc_gateway_protoc_gen_openapiv2-0.1.0-py3-none-any.whl

Download URL grpc_gateway_protoc_gen_openapiv2-0.1.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45ba00a6e9df13d35fe46d4149c62361a63c27e61fb08faa192aea0f4fbed609
BLAKE2b-256 checksum
How to use checksums
42676c5980c485afd0d1a37a07b423dc58326302a005cbaa1926cef03e202316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page