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
Metadata
Release files for dismod 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dismod-0.3.0.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dismod-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / dismod-0.3.0.tar.gz
| Download URL | dismod-0.3.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5258031c4b0a9df57fc7c8ae16cfac8798aebcdca0a2bb6634944e1c67bd116d
|
|
BLAKE2b-256 checksum How to use checksums |
444625baa65155cccec1d26a31d1cd09f24d07e7fc8f583f69d55fd756fcb1b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / dismod-0.3.0-py2.py3-none-any.whl
| Download URL | dismod-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3d17025fa0d7f1c04b725cc35c24f8b7c97a717fb1cf5a8ae6de1548a6fe4dae
|
|
BLAKE2b-256 checksum How to use checksums |
c1a86cdc59f5559a4d8cb685322643da70f32ddcce92f522f5ff6483049df9f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for dismod 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.