Skip to content
Instant visualization of Python AST and Code Objects
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
instaviz Merge pull request #2 from Norbinsh/master Aug 31, 2019
.gitignore initial project setup Mar 18, 2019
LICENSE setup project Mar 17, 2019
README.md Update README.md Mar 18, 2019
pyproject.toml use pygments and show instructions in UI Mar 18, 2019
screenshot.png update versions Mar 18, 2019
test.py use pygments and show instructions in UI Mar 18, 2019

README.md

instaviz

Instant visualization of Python AST and Code Objects.

Installation

Requires modern Python 3.6+

pip install instaviz

Usage

Instaviz is designed to be used like PDB, it will start a webserver when the show() function is called. Simply pass a class or function to be displayed

def my_function():
    # your code
    ...

# your code
import instaviz; instaviz.show(my_function)

Credits

This package bundles some 3rd party javascript libraries. All libraries are bundled in the package so that the WebUI doesn't need to make any requests to the internet to protect the privacy of your code.

json2html json2html-visualizer visjs

You can’t perform that action at this time.