Visualize module dependencies in a python package

When you are learning a new Python library, it is always helpful to get a graphical view of the dependencies among different modules within the library/package.  Inspired by this post, I created a script to do that.   To use the script,  run

python moddep.py -p <top-level-path-to-package-sources> -o <output-file, default to stdout>

Below is the source code:



Leave a comment