Visualizing and refactoring python project import graphs.
Visualizing Python Project Import Graphs
sudo pip install blackwidow
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.