GBNF
A library for parsing .gbnf grammar files in Python.
Install
pip install gbnf
Repetition syntax
The grammar supports bounded repetition on the preceding symbol or group:
root ::= "a"{3} # exactly 3 times
root ::= "a"{2,} # at least 2 times
root ::= "a"{2,4} # between 2 and 4 times (inclusive)
root ::= "a"{0,4} # at most 4 times (inclusive)
Metadata
Release files for gbnf 0.0.32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gbnf-0.0.32.tar.gz | 29.6 kB | Without provenance | Details for gbnf-0.0.32.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gbnf-0.0.32-py3-none-any.whl | Python 3 | none | any | Details for gbnf-0.0.32-py3-none-any.whl |
Total release size: 73.7 kB
Release files / gbnf-0.0.32.tar.gz
| Download URL | gbnf-0.0.32.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9faacf64490560aa24eedccce7c1217383d21ee430c5452922630a4b38f82ab8
|
|
BLAKE2b-256 checksum How to use checksums |
a2cc63396b9dd2941c5bf32c9668156ded570506ef39b6b56370b60aea200d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / gbnf-0.0.32-py3-none-any.whl
| Download URL | gbnf-0.0.32-py3-none-any.whl |
|---|---|
| Size | 44.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff386fb86b7aed4bfd4d3fed7e053a236482fbf3d13e25fdfc82047b32ed6e53
|
|
BLAKE2b-256 checksum How to use checksums |
7dc5fd8e0dc98f03cffbce808c9f7ded17d12f723f7e5b376f4758e958ef5ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for gbnf 0.0.32
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.