Protobuf-py: A Complete, Fast, and Idiomatic Protobuf Library for Python

Protobuf-py: Protobuf for Python, without compromises

17ming13💬 1
Protobuf-py: A Complete, Fast, and Idiomatic Protobuf Library for Python

We built protobuf-py to give Python developers a complete Protocol Buffers implementation that feels native. Unlike Google's package, which feels like a C++ binding, or betterproto, which sacrifices spec coverage, our library offers full compatibility with proto2, proto3, and editions. By keeping message data as plain Python objects and using an optional Rust accelerator, we achieve performance that beats the C engine in real-world production workloads while maintaining readable, typed code.

"For years you took both or neither: the clumsy API and the speed shipped together, but we proved those constraints could all be true at once."

More from this day · 2026-07-12