Skip to main content

A python package for swagger annotation proto files.

Project description


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.


We can simply use pip to install, as the following:

$ pip install protoc-gen-swagger

or installing from git

$ pip install git+


When the source repository grpc-gateway is taged, we can use command bash <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.

Project details

Download files

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

Files for protoc-gen-swagger, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size protoc_gen_swagger-0.1.0-py2.py3-none-any.whl (9.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page