Visualize and profile your python code with FlowVisor.
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.1.0.tar.gz
(10.5 kB
view hashes)
Built Distribution
FlowVisor-0.1.0-py3-none-any.whl
(13.2 kB
view hashes)
Close
Hashes for FlowVisor-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bcd65b1c6efa936dcfbeb4bd27bafbe2cb3867783cc088b6c84962a3881da53 |
|
MD5 | d3994c78804186265042edc9ed44e05d |
|
BLAKE2b-256 | 3fe23994934e30fae4d7e88ab82b1dfddfd2adbd542d8cfd97b19511cb359847 |