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.86.0.tar.gz (59.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.86.0-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: substrait_protobuf-0.86.0.tar.gz
  • Upload date:
  • Size: 59.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.86.0.tar.gz
Algorithm Hash digest
SHA256 a0b9f5497a07fd11e7ca0fddbe923d09247d51d340bf551b749dde84eed1c85e
MD5 8646a55ff07d4194ce3d0cf2a8055463
BLAKE2b-256 d955e6dbe1db977a2a1d0c9db8d2cd82d38060f4d2ed293334d726dcb5651a06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: substrait_protobuf-0.86.0-py3-none-any.whl
  • Upload date:
  • Size: 64.5 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.86.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88548334a77dfdded43025c2dd7d4c85a449e72d7e74e92b270381c31b007619
MD5 7bfd12206536071127185e7d2c025dc4
BLAKE2b-256 8c6f502e8543bd134c5fc5814453c4426d3c2ad64fe1d4c4c59cbfbad8cc6872

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