Modviz lets you visualize your module dependencies.
pip install modviz
$ modviz /path/to/a/python/package -o output.html
~$ modviz --help
usage: modviz [-h] [-o TARGET] [-f [FOLD_PATHS [FOLD_PATHS ...]]] [-e [EXCLUDE_PATHS [EXCLUDE_PATHS ...]]] [-x] PATH
Modviz lets you visualize your module dependencies.
positional arguments:
PATH the path to the package you want to visualize
optional arguments:
-h, --help show this help message and exit
-o TARGET the output file (default: stdout)
-f [FOLD_PATHS [FOLD_PATHS ...]]
paths that need to be folded up ('vendor' dirs, for example)
-e [EXCLUDE_PATHS [EXCLUDE_PATHS ...]]
paths that should be excluded from the output
-x show external modules