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.

Metadata

Release files for substrait-antlr 0.103.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for substrait-antlr 0.103.0
File Size Uploaded
substrait_antlr-0.103.0.tar.gz 69.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for substrait-antlr 0.103.0
File Interpreter ABI Platform
substrait_antlr-0.103.0-py3-none-any.whl Python 3 none any Details

Total release size: 147.7 kB

Release files / substrait_antlr-0.103.0.tar.gz

Download URL substrait_antlr-0.103.0.tar.gz
Size 69.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a0d0d94cbb7305307bed0b3d08e166cdcfe49bbb73ded70e9ccd23f395c5b50f
BLAKE2b-256 checksum
How to use checksums
c0650d61bf3a792567d1dba5ec18d9bfefe9d2e00455c645e00a643f9bada1a2
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / substrait_antlr-0.103.0-py3-none-any.whl

Download URL substrait_antlr-0.103.0-py3-none-any.whl
Size 78.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
227624c2af150d3b841b06ee8e2b2c0cefbabd0fa0a7c1d51bafad0be7d54bc2
BLAKE2b-256 checksum
How to use checksums
b749abe58c8691064dd38fe08561716fbb1d66405c19ad4f6738154e6d0de8d8
Upload date
Uploaded using Trusted Publishing?
What is 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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page