Skip to main content

Generated Substrait Protocol Buffer Code

Project description

substrait-protobuf

Generated Python protobuf bindings for the Substrait specification.

The protobuf definitions from which the code is generated can be found here.

Versions of this package correspond to Substrait releases. vx.y.z of substrait-protobuf will contain code generated from vx.y.z of the substrait repository.

Package Usage

The generated code is available under the substrait module:

import substrait.algebra_pb2
import substrait.plan_pb2
import substrait.type_pb2

Generation and Publishing

Code generation and publishing is handled in the substrait-packaging repository.

When a new version of the Substrait specification is released, automation generates protobuf bindings for that version and pushes them to GitHub with a tag formatted like python/substrait-protobuf/vx.y.z. The automation then publishes that code to PyPI.

Local Generation

The generate_protobuf.sh script can be executed locally to check the protobuf generation.

Set SUBSTRAIT_HOME to a directory containing the Substrait specification.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

substrait_protobuf-0.94.0.tar.gz (61.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

substrait_protobuf-0.94.0-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

Details for the file substrait_protobuf-0.94.0.tar.gz.

File metadata

  • Download URL: substrait_protobuf-0.94.0.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for substrait_protobuf-0.94.0.tar.gz
Algorithm Hash digest
SHA256 b51e5ac211dea1d5782d406c22dea5ac183cc90e16e093c4e24c323d7802eaca
MD5 91ce85b463a241536facf364c97e46e6
BLAKE2b-256 41c92149052cfd5d3c6a2b03c6debe7ed960b648abb778ea422054b352f056a1

See more details on using hashes here.

File details

Details for the file substrait_protobuf-0.94.0-py3-none-any.whl.

File metadata

  • Download URL: substrait_protobuf-0.94.0-py3-none-any.whl
  • Upload date:
  • Size: 66.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for substrait_protobuf-0.94.0-py3-none-any.whl
Algorithm Hash digest
SHA256 036e3b6625c8512103afee65403ee07bab7301f090a465900a6e5c325ab46dac
MD5 d6f4f5158a86b2980eb1f7c4a839bb26
BLAKE2b-256 b6b1a9df829e7de56934dd3bf69b94abe0d5fdd9d85b89a94a0ffe2b2d5989ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page