The package can be used as a script using “python -mmodulegraph”.
This script calculates the module graph for the scripts passed on the commandline and by default prints a list of modules in the objectgraph, and their type and location.
The script has a number of options to change the output:
The package also installs a command-line tool named “modulegraph”, this command-line tool is deprecated and will be removed in a future version.