Plugin which integrates Lark into the Poetry build system.
Project description
poetry-lark
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity. This plugin integrates Lark into the Poetry build system and provides several commands for configuring standalone parsers using pyproject.toml and Poetry.
Install
$ poetry self add poetry-lark
The plugin depends only on Lark and Poetry, but you can use Lark's extra features:
interegular(if it is installed, Lark uses it to check for collisions, and warn about any conflicts that it can find)regex(if you want to use theregexmodule instead of theremodule).
Usage
$ poetry lark-add <module> <grammar-file>
$ poetry lark-remove <module>
$ poetry lark-build <module>
By default, the plugin is integrated into the Poetry build system and generates all parser modules specified in the pyproject.toml (if auto-build option is not configured as false for parser module).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry_lark-1.0.4.tar.gz.
File metadata
- Download URL: poetry_lark-1.0.4.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f246ca2d510a5245c1a26294577358a5f20891e63503e025214259d20a22fa4
|
|
| MD5 |
8ee1cd1339193c5f36f1c3daa69d37f0
|
|
| BLAKE2b-256 |
afe5bd1032aae597cdd236b250b1ac951186be318d89e80d5b2f01d67a090ccb
|
File details
Details for the file poetry_lark-1.0.4-py3-none-any.whl.
File metadata
- Download URL: poetry_lark-1.0.4-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d112149d023563d70a0cdb1c48b3c00c6342e8cd10135d44d1923c52443e167
|
|
| MD5 |
14a0f4fc12c246154275e7039f05451e
|
|
| BLAKE2b-256 |
3799936ed542c9a569df2bc85b0a6e9a04ad653d30bbf45b3a08f5852986c7ce
|