The parce module
import parce
Homepage • Development • Download • Documentation • License
This Python package, parce, can be used for lexing text into tokens using one of the supplied language definitions in the lang directory, or building your own language definitions and lex text using them.
The parce module is designed to be very fast, while being written in pure Python, using native data structures as much as possible. Lexing can be done in a background thread.
A powerful feature of parce is that you can retokenize only modified parts of a text if you already have tokenized it. This makes parce suitable for text editors etc. that need to keep a tokenized structure of the text up-to-date e.g. to support syntax highlighting as you type.
The module is written and maintained by Wilbert Berendsen. Python 3.5 and higher is supported. Besides Python itself there are no other dependencies. Testing is done by running pytest-3 in the root directory.
The logo is a public domain tree image with the name in the Gentium italic font. Why the name? It’s short, sounds like ‘parse’, and has the meaning of “friend”, “buddy”, “bro.” :-)
Metadata
Release files for parce 0.9.0
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 |
|---|---|---|---|---|
| parce-0.9.0.tar.gz | 522.6 kB | Without provenance | Details for parce-0.9.0.tar.gz |
Release files / parce-0.9.0.tar.gz
| Download URL | parce-0.9.0.tar.gz |
|---|---|
| Size | 522.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34c7b5ec01880bfed5c376195228b9797cb0b351c61b6270193012f12407b346
|
|
BLAKE2b-256 checksum How to use checksums |
3aa33168c4cd94631744a73155bfa0e49465c5ddbcf2e118827a980cda05712b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for parce 0.9.0
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.