Skip to main content

Depender

Version License

Depender is a Python package that is used to determine and plot the dependencies of a given Python package given its name or its path.

Dependency Graph Dependency Matrix

As a bonus, it can also be used to plot a hierarchical diagram of the directory structure of said package.

Structure Graph

Installation

Requirements

Depender requires Python 3.5+

Install latest release

Using pip:

pip install depender

Install from source

git clone https://github.com/AnesBenmerzoug/depender
pip install .

Usage

The package can be used from the command line:

depender <packageNameOrPath>
Usage: depender [OPTIONS] PACKAGE_NAME_OR_PATH [EXCLUDED_DIRS]...

  Depender command line interface

  Create a dependency graph, a dependency matrix and/or a directory
  structure graph for a given Python package.

  PROJECT_PATH should be the path (relative or absolute) to the root of the
  Python package.

  EXCLUDED_DIRS should be, if provided, the name of or more directories in
  the package to be excluded from the graph.

Options:
  -o, --output-dir PATH           Output directory  [default: graphs]
  -fmt, --format TEXT             Output format, if specified the graph will
                                  be rendered to a file with the given format
  --dims, --image-dimensions TEXT
                                  Dimensions of the rendered graphs given as
                                  'width,height'  [default: 800,600]
  --include-external              When set, external packages are included in
                                  the graphs  [default: False]
  --no-follow-links               When set the script visits directories
                                  pointed to by symlinks  [default: False]
  --depth INTEGER                 Depth of the directory recursion  [default:
                                  6]
  --version                       Show the version and exit.
  -h, --help                      Show this message and exit.

License

Depender is licensed under the Apache Software License version 2.0.

Metadata

Release files for depender 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for depender 0.1.2
File Size Uploaded Provenance Actions
depender-0.1.2.tar.gz 13.5 kB Without provenance Details for depender-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for depender 0.1.2
File Interpreter ABI Platform Actions
depender-0.1.2-py3-none-any.whl Python 3 none any Details for depender-0.1.2-py3-none-any.whl

Total release size: 33.2 kB

Release files / depender-0.1.2.tar.gz

Download URL depender-0.1.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a84dc074bbfae135e3aba8f6ba251fbe59b464f916b2c5a588066bc325cdc401
BLAKE2b-256 checksum
How to use checksums
4270c83fad1d09afb1627383859c3ff5521a6329754b1ff570a248cefa3686d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.5.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / depender-0.1.2-py3-none-any.whl

Download URL depender-0.1.2-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf9eda8ed2c3a08af93efc905f60883155ce8c932b537bbec9b7e9058449ae2e
BLAKE2b-256 checksum
How to use checksums
2e9b01ea1a26a2c771301baa398b54af7436ca46fdd6f00282d3bc50b2e00283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.5.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Security for depender 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page