Get from zero to a useful dependency report in about two minutes.
All commands on this page were executed against the repository's
test_project/on 2026-10-19. Output shown here is illustrative; your project's numbers will differ.
pip install pydependencycheckCheck the install:
pydependencycheck --versionIf no wheel is available for your platform/architecture, build from source — see Compatibility and the installation guide.
Run from the project root (the directory containing pyproject.toml,
requirements.txt, setup.py, or setup.cfg):
pydependencycheck scanExample output:
Total dependencies: 7
Direct: 7
Transitive: 0
Use --path/-p to scan another directory, and --format/-f for
table (default), json, markdown, or html.
pydependencycheck why requestsExample output:
requests
Version: ==2.32.0
Source: test_project/requirements.txt
Introduced by:
Commit: 09fa4f3
Author: Georgi Mammen Mullassery
Date: 2026-08-03 01:55:27
Message: Initial PyDependencyCheck scaffold: Rust core + Python CLI, 5-phase roadmap
why needs the project to be a Git repository. See
Provenance for the full workflow and its limits.
pydependencycheck healthThe score combines four factors (weights in
Health score). Use --offline to skip OSV/PyPI network
calls; note that an offline run does not check vulnerabilities.
pydependencycheck gate --min-health 50 --max-dead-deps 10Exit codes and annotation behaviour are documented in CI gating.
# CycloneDX 1.4
pydependencycheck export --format cyclonedx --output sbom.cdx.json
# SPDX 2.3
pydependencycheck export --format spdx --output sbom.spdx.jsonSigned SBOMs require the sbom extra; see SBOM.
- Provenance —
whyandtrace - Health score — how the number is computed
- CI gating — GitHub Actions example
- SBOM — signing and verification
- VEX — CycloneDX VEX export
- Limitations — what this tool cannot see
- Alternatives — how it compares to other tools