Visualize the flow of your python code.
Project description
FlowVisor
Visualize the flow of your python code.
Installation
pip install FlowVisor
Usage
from FlowVisor import FlowVisor, vis
@vis # This will visualize the function in the flow
def my_function():
print("Hello World")
@vis
def my_other_function():
my_function()
my_other_function()
FlowVisor.CONFIG.output_file = "example_graph" # You can add some configureation with the CONFIG object
FlowVisor.generate_graph() # Generate the graph
FlowVisor.save_flow("example_flow", "json") # Save the flow as json
Development
git clone https://github.com/cophilot/FlowVisor
cd FlowVisor
pip install -r requirements.txt
Example
Run the example:
python example.py
by Philipp B.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FlowVisor-0.0.3.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for FlowVisor-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcfe6b7884fdca05b2607806e1641179074e93a017a64e890ed5311165b20ef9 |
|
MD5 | 0e005909c1e9e93fb32aac50656646f0 |
|
BLAKE2b-256 | 8a8ad07c3b1fb2c6b398ce81b355775d23737a2b14be3e2a1a3bdd0c6d117abc |