VisAST
VisAST - Visualise Abstract Syntax Trees for Python.
VisAST generates ASTs for a given Python script and builds visualisations of them.
Install
Install from PyPI Here!
How to use
From a python script:
from visast import generate, visualise
ast = generate.fromPath("./helloworld.py")
visualise.graph(ast)
# or
pyString = "print(\"Hello, World!\")"
ast = generate.fromromString(pyString)
visualise.graph(ast)
# or
pyURL = "https://example.com/helloworld.py"
ast = generate.fromURL(pyURL)
visualise.graph(ast)
Like what you see? Buy me a snack
If you want to see more of what I do, you can visit my blog.
If you want to donate to my development work by buying me a snack, I use PayPal.Me.
Metadata
Release files for VisAST 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| VisAST-1.0.1.tar.gz | 16.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| VisAST-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.1 kB
Release files / VisAST-1.0.1.tar.gz
| Download URL | VisAST-1.0.1.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba4af569de5ec933a22e04b689ad396a4cd8308718dd49ebf94e8b8ba1be311e
|
|
BLAKE2b-256 checksum How to use checksums |
f8cbed004053bc53d0434a9ff9ab2770d343344a19752f1ffb8ade36c5e0c034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / VisAST-1.0.1-py3-none-any.whl
| Download URL | VisAST-1.0.1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
714e4c0cda6725149fbb2ac0e1f73a1638abc9c2c05457f95160dd8778d1f403
|
|
BLAKE2b-256 checksum How to use checksums |
c52b99eefa12916695de2e34c2e112e4b999de39355a3d97c0488d0112cec346
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|