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 visualization
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
Graph generated from this project
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.1.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for dismod-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bf602714329fc92d529f2730042ae2aeac300927ad123178782cebeec220065 |
|
MD5 | 1a7e71b4e129947cd83bb207811bf664 |
|
BLAKE2b-256 | 1b86913fa6ea4bd9c3bf8a4c1e65e870b4835839b175dbf172432e568974d9c2 |