Skip to main content

Rust-backed parser engine for the abnf package.

Project description

abnf-rust

Rust-backed parser engine for the abnf package.

This is a companion distribution: install it via

pip install abnf[rust]

The package supplies the importable Python module abnf_rust, a compiled extension built with PyO3 that accelerates the combinator engine in abnf.parser. When abnf_rust is importable, abnf.parser automatically routes its combinator primitives through this module; the pure-Python implementation in abnf._parser_python remains available as a fallback and as the reference for behavior parity.

To force the pure-Python backend even when abnf-rust is installed, set the environment variable ABNF_NO_RUST=1.

Layout

  • rust/core/ — pure-Rust parser engine (no Python dependency).
  • rust/pyo3/ — PyO3 bindings, compiled to abnf_rust._ext.
  • src/abnf_rust/ — Python wrapper package that re-exports the compiled symbols.

Building

maturin develop --manifest-path packages/abnf-rust/Cargo.toml

License

MIT.

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

abnf_rust-2.5.0.tar.gz (44.0 kB view details)

Uploaded Source

Built Distributions

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

abnf_rust-2.5.0-cp310-abi3-win_amd64.whl (317.3 kB view details)

Uploaded CPython 3.10+Windows x86-64

abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_x86_64.whl (479.0 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_aarch64.whl (470.8 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

abnf_rust-2.5.0-cp310-abi3-macosx_11_0_arm64.whl (416.9 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

abnf_rust-2.5.0-cp310-abi3-macosx_10_12_x86_64.whl (428.9 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file abnf_rust-2.5.0.tar.gz.

File metadata

  • Download URL: abnf_rust-2.5.0.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for abnf_rust-2.5.0.tar.gz
Algorithm Hash digest
SHA256 2738dbf390f852a7db2176b912906170dfaff610931c1eaf6834a3ce4f3f9474
MD5 63b3fea0c5c8282843804d6721fe8fae
BLAKE2b-256 8fa273e3c04d5f99c52e864c32c8feaf57d4ad29597e9c07e97eb17137aa35b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.0.tar.gz:

Publisher: release.yml on declaresub/abnf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abnf_rust-2.5.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: abnf_rust-2.5.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 317.3 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for abnf_rust-2.5.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 43eaf7b3aa5eaf3d4e5480450d414f9f39c2184ed678d141394351428709cc10
MD5 d2288f034a063c3cf5c20231e57a7ac9
BLAKE2b-256 80291bf39d0a801d1f6c855e565af7ab4d67c44a5aa27359403700f78a68bb0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on declaresub/abnf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e81730e4470992af75f6cbd824c0ed8e97b62c69f28939a73ecb879becae882f
MD5 c9da34461f2d3b6d58520e023d21ebce
BLAKE2b-256 395011b654738f99fc6d0bd3dd79c797e684f5cc935ac5919152697921016862

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: release.yml on declaresub/abnf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ddfdf039f9fac0a4bae67ec3fa10b3dee50c85db7f58e10faba15158f02c1ecf
MD5 745899a8de08e2329278a92fc72a95f2
BLAKE2b-256 7a49552578b127ac2341b53c23ecf756d06634fd920829c153869a9a357834a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.0-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yml on declaresub/abnf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abnf_rust-2.5.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 888ecaf119f50e85d88e79a4c1519bf4a99d5e58246287ca28a5a22277d1731a
MD5 ee72b834f211a7428c610ff06fdd4b6d
BLAKE2b-256 07a82ada756cc1589a4ddf99f69b3fb19ca6f5938af6eeeb9b0301715d02a625

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.0-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on declaresub/abnf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abnf_rust-2.5.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c27eb7072fea0d7000791ac07a27e3672571a9399d522d2477a297ea3a4323d3
MD5 cbfa9e05e1622770820a5af86b2d3577
BLAKE2b-256 0b698d5a5ca383e8d53c51b916eb5711538e6757cbe7087bee5edfdf105d01b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.0-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on declaresub/abnf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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