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.79.0.tar.gz (74.8 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.79.0-py3-none-any.whl (83.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: substrait_protobuf-0.79.0.tar.gz
  • Upload date:
  • Size: 74.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.79.0.tar.gz
Algorithm Hash digest
SHA256 f1bf8641eb3ee785f4affd4f728568958deda2bb1ededa09f02f2118229616d4
MD5 4aca2cb23974f5135532bb802055e448
BLAKE2b-256 618d0d7ff0e56fdf341182729da4ce5754712ad3b950e0e404ec2fa53f46627b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: substrait_protobuf-0.79.0-py3-none-any.whl
  • Upload date:
  • Size: 83.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.79.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f710459569be0b92661e16a2d180a9f2a03853c3ef0154a0c6c8a9aef365ffa
MD5 9d8906f96e1a75259a9b687dc76b88e5
BLAKE2b-256 0a2724e16471dc7b5986cd2af0d5aab9b12347fb835840fb2320b1b2375e53a8

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