Metadata-Version: 2.1
Name: VisAST
Version: 1.0.1
Summary: Building and visualising Abstract Syntax Trees for Python code.
Home-page: https://github.com/JamesPhillipsUK/vast
Author: Jesse Phillips
Author-email: james@jamesphillipsuk.com
Project-URL: Bug Tracker, https://github.com/JamesPhillipsUK/vast/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: networkx
Requires-Dist: EoN
Requires-Dist: matplotlib

# 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!](https://pypi.org/project/VisAST/)

## How to use

From a python script:

```python
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](https://jamesphillipsuk.com "Go there now").

If you want to donate to my development work by buying me a snack, I use [PayPal.Me](https://paypal.me/JamesPhillipsUK "My PayPal.Me").
