Visualizing Python Project Import Graphs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blackwidow
.gitignore
LICENSE
README.md
README.rst
setup.py

README.md

BlackWidow

Visualizing Python Project Import Graphs

Installation:

sudo pip install blackwidow

Demo with:

python -m blackwidow.web [package_name]

Optionally pass in a list of file patterns to exclude

python -m blackwidow.web [package_name] --exclude *test*

Once the visualization is displayed, you can inspect file names by hovering over a node.

Sample results:

Flask:

Flask Project Graph

Django

Django Project Graph

Requests:

Requests Project Graph

BlackWidow:

BlackWidow Project Graph