substrait-protobuf
Generated Substrait Protocol Buffer Code
What it is and what it does
substrait-protobuf is a generated Python package that exposes protobuf message definitions for the Substrait specification. Substrait is a cross-platform standard for representing query plans and expressions, and this package provides the Python bindings needed to work with those definitions programmatically.
The package is automatically generated and published whenever a new Substrait specification version is released, ensuring the bindings stay synchronized with the specification. It depends only on protobuf and requires Python 3.10 or later. The bindings are organized into modules like substrait.algebra_pb2, substrait.plan_pb2, and substrait.type_pb2, allowing you to import and use the message types directly in your code.
Use it for:
- Serialize and deserialize Substrait query plans in Python applications that need to exchange plans with other systems.
- Build query optimization or analysis tools that work with Substrait algebra and type definitions.
- Integrate Substrait specification support into data processing frameworks or query engines written in Python.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python protobuf bindings for the Substrait specification, enabling serialization and deserialization of Substrait algebra, plan, and type definitions.
Yes, if you are building Python tools that need to work with Substrait query plans or expressions. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is minimal. It is a straightforward protobuf binding with no hidden dependencies or gotchas.
Install
substrait-protobuf on PyPI
pip
pip install substrait-protobufuv
uv add substrait-protobufpoetry
poetry add substrait-protobufInstalling substrait-protobuf
Before you install
Low install friction with a single protobuf dependency. Actively maintained with releases tracking the Substrait specification; last commit 2026-08-14 and release 5 days prior indicate current development.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install substrait-protobuf
import substrait.algebra_pb2
import substrait.plan_pb2
import substrait.type_pb2
Requires Python >= 3.10
Verify before relying
- Whether the package is suitable for production use in query engines or data systems beyond protobuf serialization
- Performance characteristics when handling large or deeply nested Substrait plans
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — protobuf |
| Maintenance | actively maintained — 5 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 117,086/month — #12,182 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: substrait_protobuf-0.100.0-py3-none-any.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
dbt-protosProvides Python Protocol Buffer bindings for…
permissive · top 1,000 on PyPI
substraitProvides a Python interface to construct,…
permissive · top 15,000 on PyPI
proto-plusProto Plus wraps protocol buffers to provide…
permissive · top 1,000 on PyPI
discord-protosProvides Python bindings for Discord's protocol…
permissive · top 15,000 on PyPI
foxglove-schemas-protobufProvides precompiled Protobuf message classes…
permissive · top 15,000 on PyPI
pure-protobufEncodes and decodes Protocol Buffer messages…
permissive · top 15,000 on PyPI
sigstore-protobuf-specsProvides Python protobuf message definitions…
permissive · top 15,000 on PyPI
opentelemetry-protoProvides generated protobuf message classes for…
permissive · top 1,000 on PyPI
flyteidl2Provides Python protobuf message definitions…
permissive · top 15,000 on PyPI
hatch-protobufA Hatch build plugin that generates Python…
copyleft · top 15,000 on PyPI