Visualize module dependencies in a python package
Posted: June 26, 2012 Filed under: python Leave a commentWhen 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: