Skip to content

Instant visualization of Python AST and Code Objects

License

Notifications You must be signed in to change notification settings

lahsuk/instaviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Instant visualization of Python AST and Code Objects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%