Skip to content
Instant visualization of Python AST and Code Objects
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
.gitignore
LICENSE
README.md
pyproject.toml
screenshot.png
test.py

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.