$npx skillfedfor your agent

protobuf-py

Idiomatic Protocol Buffers for Python.

With conditionsPyPI Python ModulesReleased Aug 2026338.5K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — protobuf_py-0.3.0-py3-none-any.whl
v0.3.0 · released 2026-08-07 · Python >=3.10 · 1 runtime deps: protobuf-py-ext

Yes, with conditions. The package is actively maintained, has low install friction, and offers genuine ergonomic improvements over alternatives (readable code, native type hints, direct field assignment). However, it is still in Alpha status with a first release only months old; production use should weigh stability risk against the benefits of better developer experience. No known vulnerabilities and permissive licensing are in its favor.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Code generation from .proto files requires external tooling; generated message classes must be created before importing and using them.
  • Low friction: pure wheel distribution, single runtime dependency (protobuf-py-ext), and active maintenance with a release within the past week.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects without significant restrictions.

last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 88 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 338,468 downloads/mo, #7,431 on PyPI

Verify before relying

from protobuf_py import Message

# After code generation from .proto files:
user = Message(id="123", first_name="Alice")
data = user.to_binary()
user = Message.from_binary(data)
print(user.to_json())
  • Whether protobuf-py-ext is a compiled extension or pure Python, and what system dependencies it may require.
  • Performance benchmarks comparing encoder/decoder speed to other Protobuf implementations.
  • Stability guarantees given the Alpha development status and recent first release date.
  • Whether proto2 support is actually implemented or only proto3 is supported.
Same gist for agents: .md · .json

What it is and what it does

protobuf-py is a Protocol Buffer implementation for Python that generates readable, type-annotated message classes from .proto files. Unlike alternatives that generate opaque runtime-constructed classes, protobuf-py produces inspectable Python code with proper IDE support and native type hints. It includes a Rust-backed encoder/decoder for performance and claims 100% conformance with the Protobuf specification.

The library depends only on protobuf-py-ext at runtime and requires Python 3.10 or later. It supports typed oneofs with pattern matching, well-known types with helper methods, and reflection over message fields. Generated code uses direct field assignment and includes IDE-friendly presence checking.

Use it for

  • Define and serialize structured data for APIs using .proto schemas with full type safety.
  • Build message-driven systems where field presence tracking and oneof pattern matching improve code clarity.
  • Generate typed message classes that are inspectable and work well with IDE autocomplete and type checkers.
  • Serialize and deserialize binary data using the to_binary() and from_binary() methods.
  • Work with well-known types like Timestamp and Duration using built-in helper methods.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is actively maintained, has low install friction, and offers genuine ergonomic improvements over alternatives (readable code, native type hints, direct field assignment). However, it is still in Alpha status with a first release only months old; production use should weigh stability risk against the benefits of better developer experience. No known vulnerabilities and permissive licensing are in its favor.

Install

protobuf-py on PyPI

Before you install

Low friction: pure wheel distribution, single runtime dependency (protobuf-py-ext), and active maintenance with a release within the past week.

Requires Python 3.10 or later. Code generation from .proto files requires external tooling; generated message classes must be created before importing and using them.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects without significant restrictions.

Quickstart

from protobuf_py import Message

# After code generation from .proto files:
user = Message(id="123", first_name="Alice")
data = user.to_binary()
user = Message.from_binary(data)
print(user.to_json())

Verify before relying

  • Whether protobuf-py-ext is a compiled extension or pure Python, and what system dependencies it may require.
  • Performance benchmarks comparing encoder/decoder speed to other Protobuf implementations.
  • Stability guarantees given the Alpha development status and recent first release date.
  • Whether proto2 support is actually implemented or only proto3 is supported.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
protobuf-py-ext
MaintenanceActively maintained 7 days since the last release
Last repo commit
First released
Downloads338,468 / month, #7,431 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Free ThreadingTopic :: File FormatsTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: protobuf_py-0.3.0-py3-none-any.whl

Tags

Capabilities
protobuf python libraryprotocol buffers serializationtyped message generationprotobuf code generatorbinary serialization pythonprotobuf schema compilerrust-backed protobuf
Topics
serializationcode-generationrpc
PyPI keywords
protobuf

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “protobuf python library”

  • protobuf-pyGenerates well-typed, readable Python code from Protocol Buffer…
  • dbt-protosProvides Python Protocol Buffer bindings for dbt's public data…
  • flyteidl2Provides Python protobuf message definitions and serialization…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also protobuf-py-ext · proto-schema-parser · betterproto · protovalidate · betterproto-rust-codec · protoc-gen-connect-python · betterproto2 · baml-bridge · proto-plus · dbt-protos