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.1.tar.gz (43.7 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.1-cp310-abi3-win_amd64.whl (320.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

abnf_rust-2.5.1-cp310-abi3-manylinux_2_28_x86_64.whl (486.2 kB view details)

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

abnf_rust-2.5.1-cp310-abi3-manylinux_2_28_aarch64.whl (474.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

abnf_rust-2.5.1-cp310-abi3-macosx_11_0_arm64.whl (431.1 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

abnf_rust-2.5.1-cp310-abi3-macosx_10_12_x86_64.whl (437.8 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: abnf_rust-2.5.1.tar.gz
  • Upload date:
  • Size: 43.7 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.1.tar.gz
Algorithm Hash digest
SHA256 c2ab2bd6b4d93c2aa2511c122de02446341dc3b6d328ee3e904e5f444bd5e095
MD5 0dd6b9cf613b554b2f5931fdd8d056e3
BLAKE2b-256 29d23b594acd4f2b5a27ba68fc8abe298b1ba7bf4e4f218ca669acec6d7a358f

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.1.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.1-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: abnf_rust-2.5.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 320.5 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.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b72ea9e70a98c68303ad79c94081028da532c8712e619a38a48b28d0b81fd1c1
MD5 186b020f0e377250ea6c8e767dec3599
BLAKE2b-256 97c9e3a009cf82c845325cbc9785e6a756ce079d8298a79b8a4becd043002c8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.1-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.1-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de2dc89133819fee00d4b7ce7bde8583604b63a15b35cf62a4712e7fad9af9ad
MD5 6c958e79f84ae9bcc80ed6552f1a65cd
BLAKE2b-256 c0b0af03cedf4f854d31f02e2ad52c7d60cc6e7550681e854dc7b20e0b853266

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.1-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.1-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b8dbf2a340224523384800fcdd56465c8010d3b095d5cc2c10fab06ab958ff14
MD5 3f96989c72561e64df60ccc18b8bafdb
BLAKE2b-256 f8988cbaba93851f632dd2cbc5202d0d7ae3807bca3c53ffe426b3b4c67b0d20

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.1-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.1-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfda47aad6c98713c19f0bbbfb690d29ad47d04aa96cfdabea9355ad8ede9a86
MD5 fabaeabc9ad41363bbf55de8a14813ab
BLAKE2b-256 414475d2ebefe7e18ac42704a68914a379b3862280384cda0ac2ae8fe7416c65

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.1-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.1-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for abnf_rust-2.5.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 43b8513d837814843d7ba01899308877b15c7ddb0253c0513278860663f484f4
MD5 765a0ad44ee55c7b3e5d4dd26ae2957d
BLAKE2b-256 08ec16d28220732d3bf585781550ed481cf09790ed1967b34220b5b74963e9b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for abnf_rust-2.5.1-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