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.95.0.tar.gz (64.9 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.95.0-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: substrait_protobuf-0.95.0.tar.gz
  • Upload date:
  • Size: 64.9 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.95.0.tar.gz
Algorithm Hash digest
SHA256 4a92baa1074604e6fa967e92e9ad798e410a53032b6d7eedf000a9970af2f84c
MD5 19de00be65fb5453cd2bee4c866c97eb
BLAKE2b-256 3f43dbc4265da4552d793ab799a36e2ca205a7c7f6e4ed129de7ff16e7969f71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: substrait_protobuf-0.95.0-py3-none-any.whl
  • Upload date:
  • Size: 70.8 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.95.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5376f20279064b138160360d14efa7ff90c8f50086a7d02895a546e87abb65bd
MD5 311d417a4c3b8bb128ef3872999c9b3d
BLAKE2b-256 a776623f2805759920ac49f74cba90436637267daad5c7e2ec45fa3ad4eec598

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