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.

Install

Install from PyPI Here!

How to use

From a python script:

from vast.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.3.tar.gz (15.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.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: VisAST-0.0.3.tar.gz
  • Upload date:
  • Size: 15.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.3.tar.gz
Algorithm Hash digest
SHA256 2dd6720c0b2d0358c75dc7294d53034209972b6447f802f8ea7a9229e5905812
MD5 0e89265475637d0c8ad22066ec3c96af
BLAKE2b-256 c3ba404a20abbc7f6b867b46d39372614f315b9da8a913214b9452d65efd921d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: VisAST-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edf727153e61db23ec51b61462e8966d29f5e79dee4007eb2097f7a1d8561288
MD5 506a0ee9709fe82958fe927c360604bb
BLAKE2b-256 c2f9e351bf9edf60fc3ae30bcfc1fa91b42407263b9a711b7addf398e78e688b

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