Skip to main content
import parce

Homepage • Development • Download • Documentation • License

This Python package, parce, can be used for parsing text into tokens using one of the supplied language definitions in the lang directory, or building your own language definitions and parse 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. Parsing 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.8.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parce 0.8.5
File Size Uploaded Provenance Actions
parce-0.8.5.tar.gz 197.5 kB Without provenance Details for parce-0.8.5.tar.gz

Release files / parce-0.8.5.tar.gz

Download URL parce-0.8.5.tar.gz
Size 197.5 kB
Tags Source
SHA-256 checksum
How to use checksums
67b4719224dd8b0b5a39cc82524ca22705364f5bf0cf9ec62afd387065049571
BLAKE2b-256 checksum
How to use checksums
60619326685876f3f969fa29a5f2e4a04bc66743c17d98d910ccf7b9b28a27e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for parce 0.8.5

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.

Release history Release notifications | RSS feed

This release

0.8.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page