osprey-oss/deptry
Find unused, missing and transitive dependencies in a Python project. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27.5
- age_days: 1462
- days_rel: 168
- days_push: 7
- n_releases_24m: 9
Adoption not part of the score
1467 stars · 48 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
deptry is a command line tool that detects unused, missing, and transitive dependency issues in Python projects by scanning imported modules and comparing them against declared dependencies. It supports Poetry, pip, PDM, uv, and any PEP 621-compliant project.
Use cases
- find unused dependencies in a python project
- detect missing dependencies before publishing a package
- check for transitive dependency issues in ci
- lint pyproject.toml dependencies against actual imports
- enforce dependency hygiene in github actions
When to choose
- you maintain a Python project with Poetry, pip, PDM, or uv and want automated dependency checks
- you want to catch unused or missing imports in CI pipelines
- you need a fast, configurable linter for dependency declarations
When to avoid
- your project is not Python-based
- you need full dependency resolution or lockfile management rather than auditing
- you cannot run the tool inside the project's virtual environment
Facets
cli-tool · maturity active
dependency-audit linter cli developer-tools developer-tools testing cli python cross-platform dependency-management pep621 poetry uv code-quality ci-cd python automation
4 sources
- readme: https://github.com/osprey-oss/deptry · fetched 2026-08-28 · 4a23c3694fe7
- homepage: https://deptry.com/ · fetched 2026-08-29 · 71bf4767168d
- registry_pypi: https://pypi.org/pypi/deptry/json · fetched 2026-08-29 · e7574d3ac6d6
- site_page: https://deptry.com/CHANGELOG · fetched 2026-08-29 · ca7dd593023e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| osprey-oss/deptry | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="osprey-oss/deptry")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem