danielgtaylor/python-betterproto
Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC observed · 2026-08-28
Health v2 · maintenance only
37/100
- Activity 32
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2519
- days_rel: n/a
- days_push: 412
- n_releases_24m: 0
Adoption not part of the score
1770 stars · 234 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python code generator and runtime library for Protobuf 3 and async gRPC that produces idiomatic, typed, dataclass-based Python code. It serves as a modern alternative to the official Google protoc Python plugin, with built-in binary/JSON serialization and async/await support.
Use cases
- generate idiomatic python code from protobuf definitions
- async grpc client and server in python
- serialize protobuf messages to binary and json
- generate pydantic models from proto files
- replace official google protobuf python codegen
- type-checked protobuf stubs with mypy support
When to choose
- you want modern, readable, typed Python code from .proto files
- you need async/await gRPC support out of the box
- you want built-in JSON serialization and pydantic model generation
When to avoid
- you need Protobuf 2 or legacy feature support
- you require a strict drop-in replacement for the official protobuf runtime
- you want the most actively developed version - the project has moved to betterproto2
Facets
library · maturity maintenance
serialization rpc developer-tools apis backend python cross-platform protobuf grpc asyncio dataclasses pydantic protoc-plugin code-generator code-generation
1 source
- readme: https://github.com/danielgtaylor/python-betterproto · fetched 2026-08-28 · a4662f38052b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| danielgtaylor/python-betterproto | main | 37 |
For agents
markdown · JSON · MCP: product_card(name="danielgtaylor/python-betterproto")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem