fischor/protogen-python
The protogen package makes it easy to write protoc plugins in Python
This project helps Python developers create custom code generation tools for Protocol Buffers (Protobuf). It takes raw Protobuf descriptor messages as input and simplifies them into easy-to-use Python objects. The output is generated Python code or other text files, ready to be picked up by the `protoc` compiler. This is for developers building custom build tools or code generators.
No commits in the last 6 months. Available on PyPI.
Use this if you are a Python developer who needs to write a `protoc` plugin to generate custom code from your .proto files, especially for Python-specific scenarios like import management.
Not ideal if you are looking for a pre-built code generator and do not intend to write custom Python code for a `protoc` plugin.
Stars
16
Forks
3
Language
Python
License
—
Category
Last pushed
Jun 17, 2025
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/fischor/protogen-python"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.