DependaMan
Understand your Python project's internal structure. Find cycles, dead modules, hotspots, and architecture problems — visualized as an interactive graph.
Installation
pip install dependaman
Usage
CLI:
dependaman # analyze the current directory, open the graph
dependaman /path/to/project # analyze another project
dependaman --format json -o - # print the analysis as JSON on stdout
dependaman -o graph.html # choose the output file
dependaman --no-browser # write the file, do not open a browser
dependaman --help
Point dependaman at the directory that contains your top-level package, not
at the package itself — imports are resolved against the package name, so
analyzing myproject/myproject/ leaves most modules without edges.
| Flag | Meaning |
|---|---|
path |
project root (optional, defaults to the current directory) |
-f, --format {html,json} |
output format (default: html) |
-o, --output-path PATH |
destination file, or - for stdout |
--no-browser |
do not open the rendered HTML |
--version |
print the installed version |
JSON output is the whole analysis, so it pipes:
dependaman --format json -o - | jq '.cycles'
Python API:
from dependaman import dependaman
dependaman() # writes Dependaman.html, opens browser
dependaman("/path/to/project", in_memory=True) # returns the HTML as a string
dependaman(".", output_format="json", output_path="graph.json") # returns a format correct json file in the output_path
Every argument after path is keyword-only:
| Argument | Default | Meaning |
|---|---|---|
path |
"." |
project root to analyze |
output_format |
"html" |
"html" or "json" |
in_memory |
False |
return the rendered text instead of writing a file |
output_path |
None |
destination; derived from the format when omitted |
open_browser |
True |
open the written file |
With in_memory=True nothing is written and output_path / open_browser are
ignored — useful for serving the graph from a web handler.
Documentation
Metadata
Release files for dependaman 1.2.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 | |
|---|---|---|---|---|
| dependaman-1.2.0.tar.gz | 30.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dependaman-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.0 kB
Release files / dependaman-1.2.0.tar.gz
| Download URL | dependaman-1.2.0.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b7e7fbb5e8f75767576aac9efce684d2d2b5bf411453ae449230df8820a82a
|
|
BLAKE2b-256 checksum How to use checksums |
bf4806ef6d4656810158c30f7fb351e6660e43de8cd5d27de6edf304ccb08097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dependaman-1.2.0-py3-none-any.whl
| Download URL | dependaman-1.2.0-py3-none-any.whl |
|---|---|
| Size | 29.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09be31c2282b06e598044b837370b4d55e77ccb14e241071fd54ed89da20c214
|
|
BLAKE2b-256 checksum How to use checksums |
8f47251187e0d97d0aa818d162b9bc3a63d1c96358d2f4b4e90b20301522bbb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for dependaman 1.2.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.