Skip to main content

pants-dep-graph

Pants plugin to query and export repository dependency graph.

Enable the plugin in your Pants repository:

[GLOBAL]
plugins = ["pants-plugin-dep-graph==<release-version>"]

Examples

Export dependencies

# only for Python sources
pants dep-graph --filter-target-type=python_sources --deps src::

# for every target
pants dep-graph --deps src::

# for every target of source code nature
pants dep-graph --deps --sources-only src::

Export reverse dependencies (dependents)

# for every target
pants dep-graph --rdeps src::

# include in the list of dependents only targets of source code nature
pants dep-graph --deps --sources-only src::

Debugging

pants --print-stacktrace --no-local-cache --no-pantsd dep-graph --deps src::
pants --print-stacktrace --no-local-cache --no-pantsd dep-graph --rdeps src::

Analytics

Install

$ pip install dep-graph-analytics

Usage

$ dep-graph-analytics cycles tests/cycles.json
['src/moduleC.py', 'src/moduleA.py', 'src/moduleB.py']

Metadata

Release files for dep-graph-analytics 1.0.3

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

Source distribution (sdist)

Source distribution for dep-graph-analytics 1.0.3
File Size Uploaded Provenance
dep-graph-analytics-1.0.3.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dep-graph-analytics 1.0.3
File Interpreter ABI Platform
dep_graph_analytics-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / dep-graph-analytics-1.0.3.tar.gz

Download URL dep-graph-analytics-1.0.3.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f8da80c85ef8e35cd6cb7e347c9ba70d82d7857c3d95d07e0654ec8b953a4dfd
BLAKE2b-256 checksum
How to use checksums
feaf1181d7b77b6c403ac6c3fde0dace79e413317dd93e77594dcb51727c6729
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / dep_graph_analytics-1.0.3-py3-none-any.whl

Download URL dep_graph_analytics-1.0.3-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6803fc7573303ba070de71e581e67a595a3a3357df4549b9cdaed27faf99b471
BLAKE2b-256 checksum
How to use checksums
df86be14080e12b0b4cba9ab4f80a0be22bd934825e7e59d1d518e8bcdb525ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for dep-graph-analytics 1.0.3

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.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

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