Generate dependency graphs for your modules
Project description
dismod
This tool aims to generate a dependency graph of the imports in your python
modules. It automatically search for every file with an extesion of .py
and
quickly generate renderings of that file with all imports (used and unused).
Usage
To use dismod
, first you need to install it using pip
pip install dismod
After installed (can be insid a virtualenv or not), go to the project you want to generate the graphs and run:
dismod <path_of_project>
For example, let's use dismod
own repository to generate some graphs:
git clone git@github.com:r0x0d/dismod
cd dismod
dismod dismod
ls renders
Generate graphviz visualizatio
If you want to generate a graphviz from the dotfiles, you can do so by using the following command:
dot -T png renders/<file-you-want>.py.dot -o output.png
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dismod-0.2.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for dismod-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72bfece4ab2499cd32b4b3a6457c90c9d629604b5e335e70af6d799ff85166e |
|
MD5 | 6d399e145f228f47cbab161138f81a8c |
|
BLAKE2b-256 | 44ba1010beaece9e50cec44209e1b1b8831b47cacf0f89f393c423c91bd9d8c5 |