Lark is a modern general-purpose parsing library for Python. With Lark, you can parse any context-free grammar, efficiently, with very little code. Main Features:
- Builds a parse-tree (AST) automagically, based on the structure of the grammar
- Earley parser
- Can parse all context-free grammars
- Full support for ambiguous grammars
- LALR(1) parser
- Fast and light, competitive with PLY
- Can generate a stand-alone parser
- CYK parser, for highly ambiguous grammars
- EBNF grammar
- Unicode fully supported
- Automatic line & column tracking
- Standard library of terminals (strings, numbers, names, etc.)
- Import grammars from Nearley.js
- Extensive test suite
- And much more! Since version 1.2, only Python versions 3.8 and up are supported.
Metadata
Release files for lark 1.3.1
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 |
|---|---|---|---|---|
| lark-1.3.1.tar.gz | 382.7 kB | Without provenance | Details for lark-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lark-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for lark-1.3.1-py3-none-any.whl |
Total release size: 495.9 kB
Release files / lark-1.3.1.tar.gz
| Download URL | lark-1.3.1.tar.gz |
|---|---|
| Size | 382.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905
|
|
BLAKE2b-256 checksum How to use checksums |
da3428fff3ab31ccff1fd4f6c7c7b0ceb2b6968d8ea4950663eadcb5720591a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / lark-1.3.1-py3-none-any.whl
| Download URL | lark-1.3.1-py3-none-any.whl |
|---|---|
| Size | 113.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12
|
|
BLAKE2b-256 checksum How to use checksums |
823d14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for lark 1.3.1
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.