protobuf-py-ext
Native extension for protobuf-py
What it is and what it does
protobuf-py-ext is a compiled native extension that provides high-speed Protocol Buffer message encoding and decoding. It wraps performance-critical serialization logic in Rust and is distributed as pre-built wheels for Python 3.10 through 3.14 on Linux, macOS, and Windows platforms, including ARM64 architectures. The package has zero runtime dependencies and is designed to accelerate binary serialization operations.
This extension supports current Python versions and free-threaded CPython builds, making it suitable for high-throughput applications that need fast message serialization. The package is actively maintained, with the latest release 7 days ago.
Use it for:
- Accelerate message serialization in high-throughput services and data pipelines
- Speed up batch processing of Protocol Buffer messages in distributed systems
- Improve performance of applications that frequently encode and decode binary data
- Enable efficient message handling in real-time systems with strict latency requirements
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Native Rust-based encoder/decoder extension that accelerates serialization and deserialization of Protocol Buffer messages.
Yes, if you need faster Protocol Buffer serialization. The extension is actively maintained, has no runtime dependencies, and offers broad platform and Python version coverage. Install friction is moderate due to compilation, but pre-built wheels are available for all major platforms. License status is unclear, so verify the project's license terms before use.
Install
protobuf-py-ext on PyPI
pip
pip install protobuf-py-extuv
uv add protobuf-py-extpoetry
poetry add protobuf-py-extInstalling protobuf-py-ext
Before you install
Medium install friction due to compiled wheels, but well-supported across modern Python versions (3.10–3.14) and major platforms (Linux, macOS, Windows, including ARM64). Active maintenance with a release 7 days ago.
Quickstart
pip install protobuf-py-ext
# The extension accelerates serialization automatically when imported
data = message.to_binary() # Uses native Rust encoder
message = MessageType.from_binary(data) # Uses native Rust decoder
Requires Python 3.10 or later. Pre-built wheels are available for Linux (x86_64, aarch64), macOS (arm64), and Windows (amd64, arm64); other platforms may require compilation.
Verify before relying
- Whether this extension is automatically used or requires explicit configuration
- Performance improvement magnitude compared to pure-Python alternatives
- Compatibility guarantees with specific versions of dependent packages
- License terms for use in proprietary code
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 346,371/month — #7,355 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: protobuf_py_ext-0.3.0-cp310-abi3-macosx_11_0_arm64.whl; protobuf_py_ext-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; protobuf_py_ext-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; protobuf_py_ext-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl; protobuf_py_ext-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl; protobuf_py_ext-0.3.0-cp310-abi3-win_amd64.whl; protobuf_py_ext-0.3.0-cp310-abi3-win_arm64.whl; protobuf_py_ext-0.3.0-cp312-cp312-macosx_11_0_arm64.whl; protobuf_py_ext-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; protobuf_py_ext-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; protobuf_py_ext-0.3.0-cp312-cp312-musllinux_1_2_aarch64.whl; protobuf_py_ext-0.3.0-cp312-cp312-musllinux_1_2_x86_64.whl; protobuf_py_ext-0.3.0-cp313-cp313-macosx_11_0_arm64.whl; protobuf_py_ext-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; protobuf_py_ext-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; protobuf_py_ext-0.3.0-cp313-cp313-musllinux_1_2_aarch64.whl; protobuf_py_ext-0.3.0-cp313-cp313-musllinux_1_2_x86_64.whl; protobuf_py_ext-0.3.0-cp314-cp314-macosx_11_0_arm64.whl; protobuf_py_ext-0.3.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; protobuf_py_ext-0.3.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
betterproto-rust-codecProvides fast Rust-based conversion between…
permissive · top 15,000 on PyPI
protobuf-pyGenerates well-typed, readable Python code from…
permissive · top 15,000 on PyPI
baml-bridgeProvides Python bindings for the BAML runtime,…
permissive · top 15,000 on PyPI
protovalidateValidates Protocol Buffer messages against…
permissive · top 5,000 on PyPI
betterprotoGenerates idiomatic Python code from Protobuf 3…
permissive · top 5,000 on PyPI
betterproto2Generates idiomatic Python code from Protobuf…
permissive · top 5,000 on PyPI
betterproto-fwGenerates idiomatic Python code from Protobuf 3…
permissive · top 15,000 on PyPI
flatbuffersFlatBuffers is a serialization library that…
permissive · top 1,000 on PyPI
py-ubjsonEncodes and decodes data in Universal Binary…
permissive · top 5,000 on PyPI
RUSTRUST normalizes ribosome profiling (Ribo-seq)…
permissive · top 15,000 on PyPI