setuptools build_proto command
Setuptools protobuf plugin.
Adds command to generate python probobuf stubs from .proto files.
Install from PyPI and run
python setup.py build_proto
That will find all the .proto files in the provided packages, compile them with protoc and put resulting _pb2.py files near them.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.