Skip to main content

Building and visualising Abstract Syntax Trees for Python code.

Project description

VAST

VAST - Visualise Abstract Syntax Trees for Python.

VAST generates ASTs for a given Python script and builds visualisations of them.

How to use

From a python script:

from vast import Vast

v = Vast("./helloworld.py")
# or
v = Vast()
ast = v.generateAST("./helloworld.py")
v.visualiseASTGraph(ast)

Or (if installed from source, rather than pip) from the terminal:

$python vast.py ./helloworld.py

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

VisAST-0.0.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

VisAST-0.0.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file VisAST-0.0.1.tar.gz.

File metadata

  • Download URL: VisAST-0.0.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for VisAST-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b950a2cbaa7623b822144a9c1056907108b253e56e577123646810fa6e14539b
MD5 f309c967c57e1e0eb392751a9c166629
BLAKE2b-256 7430abe31d1e3024c6a3869dd1d92d4d4c6e9112f9673968d63a76b863f69ddd

See more details on using hashes here.

File details

Details for the file VisAST-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: VisAST-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for VisAST-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a59c614bc12a355da21f3526c609ea9740d2b04fb81c81e2976cded970b608de
MD5 6eccbe09f7613c43daf5ca8565403505
BLAKE2b-256 bc0f110006eeb4031b44c0325659fd549d3487f374454eadcc1c65ca848fe694

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page