protoc-gen-swagger
A python package for swagger’s annotation protobuf files, which are located inside grpc-gateway repository.
Swagger is a popular api tool. When you import swagger proto files in your protobuf message file, you may get stuck when using the generated python code. An import error as the following:
ModuleNotFoundError: No module named 'protoc_gen_swagger'
With this package, you could forget the error.
Installation
We can simply use pip to install, as the following:
$ pip install protoc-gen-swagger
or installing from git
$ pip install git+https://github.com/universe-proton/protoc-gen-swagger
Maintain
When the source repository grpc-gateway is taged, we can use command bash gen.sh <tag-version> to update the package. Maybe we could do some automated work in the future.
Now, this package version 0.1.0 is the same as grpc-gateway version v1.3.1 .
How to Contribute
Open an issue, join a discussion or make a pull request.
Metadata
Release files for protoc-gen-swagger 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| protoc_gen_swagger-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for protoc_gen_swagger-0.1.0-py2.py3-none-any.whl |
Release files / protoc_gen_swagger-0.1.0-py2.py3-none-any.whl
| Download URL | protoc_gen_swagger-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cdc043da538865f055a7f22b304a35085cef269dc33e2f3408b12d397e8d8b4b
|
|
BLAKE2b-256 checksum How to use checksums |
7d7fd8f8d81a921f07e703cabf8a0b5bb6cbc26e3bce7614db905c3c7637315a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for protoc-gen-swagger 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.