Instant visualization of Python AST and Code Objects.
Requires modern Python 3.6+
pip install instaviz
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)
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.