Skip to main content

IPython notebook plugin for visualizing abstract syntax trees.

Project description

# showast An IPython/Jupyter notebook plugin for visualizing abstract syntax trees.

Example usage

Examples can be found in [this IPython notebook](

`python import showast `

`python %%showast print 1 + 2 ` ![print 1 + 2 AST](

`python from showast import show_source import antigravity show_source(antigravity) ` ![antigravity module AST](


` pip install showast `

showast has the following Python dependencies: ` ipython graphviz `

You will also need to have [Graphviz]( installed.

Use of the alternative nltk-based rendering engine requires the following packages: ` nltk pillow ` When using this option, you will additionally need to have [Ghostscript]( installed.


Project details

Download files

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

Files for showast, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size showast-0.2.4-py2-none-any.whl (7.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page