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
Built Distribution
File details
Details for the file dismod-0.3.0.tar.gz
.
File metadata
- Download URL: dismod-0.3.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5258031c4b0a9df57fc7c8ae16cfac8798aebcdca0a2bb6634944e1c67bd116d |
|
MD5 | ce061650db925cd81de15efec92905c9 |
|
BLAKE2b-256 | 444625baa65155cccec1d26a31d1cd09f24d07e7fc8f583f69d55fd756fcb1b0 |
File details
Details for the file dismod-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dismod-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d17025fa0d7f1c04b725cc35c24f8b7c97a717fb1cf5a8ae6de1548a6fe4dae |
|
MD5 | 901d7079d48dd618fc993a3f096e0e90 |
|
BLAKE2b-256 | c1a86cdc59f5559a4d8cb685322643da70f32ddcce92f522f5ff6483049df9f6 |