Skip to content
Flow graphs for Python
Python
Branch: master
Clone or download

README.md

Flow graphs for Python

Build Status Python 2.7 Python 3.6 DOI

Record dataflow graphs of Python programs using dynamic program analysis.

The package can be used standalone but is designed primarily to be used in conjunction with our semantic flow graphs. The main use case is analyzing short scripts in data science and scientific computing. This package is not appropriate for analyzing large-scale industrial software.

This is alpha software. Contributions are welcome!

Command-line interface

The package ships with a minimal CLI, invokable as python -m flowgraph. You can use the CLI to run and record a Python script as a raw flow graph.

python -m flowgraph input.py --out output.graphml

For a more comprehensive CLI, with support for recording, semantic enrichment, and visualization of flow graphs, see the Julia package for semantic flow graphs.

You can’t perform that action at this time.