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)