astviewer
Graphical User Interface for viewing Python Abstract Syntax Trees.
Installation:
To install Astviewer use pip:
%> pip install astviewer
It should automatically install PyQt5 as well.
Usage:
Command line example:
%> astviewer myprog.py
Examples to use from within Python:
>>> from astviewer.main import view
>>> view(file_name='myprog.py')
>>> view(source_code = 'a + 3', mode='eval')
Further links:
The Green Tree Snakes documentation on ASTs is available for those who find the Python ast module documentation too brief.
Metadata
Release files for astviewer 1.1.4
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 |
|---|---|---|---|---|
| astviewer-1.1.4.tar.gz | 18.3 kB | Without provenance | Details for astviewer-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astviewer-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for astviewer-1.1.4-py3-none-any.whl |
Total release size: 42.6 kB
Release files / astviewer-1.1.4.tar.gz
| Download URL | astviewer-1.1.4.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c069fb4c8180dfa7a9a8c7ffb17b3b9d0cdadaf9440fdfd606aaa17dc51d9211
|
|
BLAKE2b-256 checksum How to use checksums |
b70026e31ebbb35c0af79310123154153b82879c118f0c458d2e6ac3b3dc7663
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / astviewer-1.1.4-py3-none-any.whl
| Download URL | astviewer-1.1.4-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
771f658ac1dbc6fcb41b1ff8e1ab0aaf49ff98f126449875449940fbc5f3cc56
|
|
BLAKE2b-256 checksum How to use checksums |
993af3c16616447e36d3fe9295de2a19c003ec2876cb784b20efc18c272998ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for astviewer 1.1.4
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.