lahsuk / instaviz

Instant visualization of Python AST and Code Objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 99.3%Language:HTML 0.4%Language:Python 0.2%Language:CSS 0.0%