Skip to main content

substrait-antlr

Generated Python ANTLR bindings for the Substrait specification.

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

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

Package Usage

The generated code is available under the substrait_antlr module:

import substrait_antlr.substrait_type.SubstraitTypeParser
import substrait_antlr.func_test_case.FuncTestCaseParser

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 ANTLR bindings for that version and pushes them to GitHub with a tag formatted like python/substrait-antlr/vx.y.z. The automation then publishes that code to PyPI.

Local Generation

The ./generate_antlr.sh script can be executed locally to check the ANTLR generation.

Set SUBSTRAIT_HOME to a directory containing the Substrait specification.

Download files

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

Source Distribution

substrait_antlr-0.99.0.tar.gz (69.3 kB view details)

Uploaded Source

Built Distribution

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

substrait_antlr-0.99.0-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

Details for the file substrait_antlr-0.99.0.tar.gz.

File metadata

  • Download URL: substrait_antlr-0.99.0.tar.gz
  • Upload date:
  • Size: 69.3 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_antlr-0.99.0.tar.gz
Algorithm Hash digest
SHA256 fe87957e179b5f68e352c831abcaf3f188f5bc9f5eefd525d68b1089da14ab52
MD5 098887bdefe78cbae9dff41bbb5176f3
BLAKE2b-256 77fa5dc99b88c725b0a79f9dbce594fa8148e636e21b13a8129629c60e652302

See more details on using hashes here.

File details

Details for the file substrait_antlr-0.99.0-py3-none-any.whl.

File metadata

  • Download URL: substrait_antlr-0.99.0-py3-none-any.whl
  • Upload date:
  • Size: 78.3 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_antlr-0.99.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6dff75fa5bb952d9c88eabeb03a1f66930e8bc1d9967d5047b237efb6eb2f24
MD5 d931796f8cae91e2a004a4bd7d7d160e
BLAKE2b-256 e85af8e9ff191ec4d53bb54467ef7e243f64bd53fc63f0239bc4e31ca6dae988

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 Sentry Error logging StatusPage Status page