Skip to main content

Generated Substrait ANTLR Parser Code

Project description

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.

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_antlr-0.88.1.tar.gz (60.7 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.88.1-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: substrait_antlr-0.88.1.tar.gz
  • Upload date:
  • Size: 60.7 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.88.1.tar.gz
Algorithm Hash digest
SHA256 d1517703f595beab1df6fd08569031d21ffe9bb12a4ba98575f2ca16b641045c
MD5 a9f787c23d1227e543fb215d933d8cb3
BLAKE2b-256 ce844e9fcced6577a9af09a9317961d3b761579bd6903b655ddfafa7f09fda44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: substrait_antlr-0.88.1-py3-none-any.whl
  • Upload date:
  • Size: 70.2 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.88.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec722f7b0a8739085662ef6fa0449b236a8900c4dc7f451012647d8c388775c3
MD5 2141199a96a91726e8564ef217c80d11
BLAKE2b-256 d9cb8fc0c9628bad5624b8f3188ebb268ed8cb767965e1407a0ba9fcdbf91e4d

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