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](https://github.com/hchasestevens/show_ast/blob/master/Example.ipynb).
`python import showast `
`python %%showast print 1 + 2 ` 
`python from showast import show_source import antigravity show_source(antigravity) ` 
Installation
` pip install showast `
showast has the following Python dependencies: ` ipython graphviz `
You will also need to have [Graphviz](http://www.graphviz.org/Download..php) 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](http://ghostscript.com/download/gsdnld.html) installed.
Contacts
Name: [H. Chase Stevens](http://www.chasestevens.com)
Twitter: [@hchasestevens](https://twitter.com/hchasestevens)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file showast-0.2.4.zip.
File metadata
- Download URL: showast-0.2.4.zip
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
985af0864529014c3cda220d58793679b530cac125fe571933a6a6ea114cc701
|
|
| MD5 |
c68908b2e9af06b5c0ee710269001fda
|
|
| BLAKE2b-256 |
7a84977f9b49f04080d85621106563d1c11483828a79c3ee0a39cdd8bd44660b
|
File details
Details for the file showast-0.2.4-py2-none-any.whl.
File metadata
- Download URL: showast-0.2.4-py2-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4a9965a0358802bad4b23ad07b7a154383785aeedf4a02157f91bb261f3c90e
|
|
| MD5 |
fa4d1a3528acfc44a62e41facba03543
|
|
| BLAKE2b-256 |
0b4d5fc1710e706c6d7ad846acb6c82521be172edb4b68bf6d635d52207fee08
|