parso - A Python Parser Written in Python
Parso is a Python parser that supports error recovery and round-trip parsing.
Parso has been battle-tested by jedi. It was pulled out of jedi to be useful for other projects as well.
Parso is very simplistic. It consists of a small API to parse Python and analyse the parsing tree.
Ressources
Uses semantic versioning
Installation
pip install parso
Testing
The test suite depends on tox and pytest:
pip install tox pytest
To run the tests for all supported Python versions:
tox
If you want to test only a specific Python version (e.g. Python 2.7), it’s as easy as
tox -e py27
Tests are also run automatically on Travis CI.
Acknowledgements
Guido van Rossum (@gvanrossum) for creating the parser generator pgen2 (originally used in lib2to3).
Changelog
0.1.0 (2017-05-30)
Pulling the library out of Jedi. Some APIs will definitely change.
Metadata
Release files for parso 0.0.2
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 |
|---|---|---|---|---|
| parso-0.0.2.tar.gz | 111.0 kB | Without provenance | Details for parso-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| parso-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for parso-0.0.2-py2.py3-none-any.whl |
Total release size: 168.6 kB
Release files / parso-0.0.2.tar.gz
| Download URL | parso-0.0.2.tar.gz |
|---|---|
| Size | 111.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5758627df0ce1fd004bfe6d271742dc9e5f9d05f909ad18c886957a88d6e7490
|
|
BLAKE2b-256 checksum How to use checksums |
0fa4682f47e6b8522e9393b0f11636017e73176ba47a99238f9261c904cd41db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / parso-0.0.2-py2.py3-none-any.whl
| Download URL | parso-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 57.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
43ce1bac7d9f060211e8a0b2573db539d2d7e81faec2cb90cde819f598898c53
|
|
BLAKE2b-256 checksum How to use checksums |
643d8cc8ad1bdd3c70d3085323474e3d14f9a5248e7f61e567b7b5d8b0732364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for parso 0.0.2
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.