depinfo
List any package's direct dependencies and their versions.
What it is and what it does
depinfo is a lightweight utility that queries and displays the direct dependencies of any installed Python package, along with their pinned versions. It works both as a command-line tool (invoked via `depinfo package-name`) and as a Python library through its DisplayApplication class. The tool is designed for developers who need to quickly inspect what a package depends on without diving into metadata files or package managers.
The package has a single runtime dependency on importlib-metadata and supports Python 3.7 through 3.11. It can output results in plain text or markdown format, making it useful for documentation or quick audits of package dependencies. With no known vulnerabilities and permissive licensing, it is straightforward to integrate into development workflows or CI/CD pipelines.
Use it for:
- Quickly check what a package depends on before installing it to assess compatibility risks.
- Generate dependency documentation in markdown format for inclusion in project READMEs.
- Audit installed packages in a virtual environment to understand the full dependency graph at a glance.
- Verify that a package's declared dependencies match what you expect in a specific environment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Displays a package's direct dependencies and their versions from the command line or Python API, supporting multiple output formats including markdown.
Yes, if you need a simple, lightweight way to inspect package dependencies. The low install friction and permissive license make it easy to add to any project. However, be aware that the package has not been actively maintained since 2022—it works well for its narrow purpose but may not receive updates for future Python or ecosystem changes. Consider it a stable utility rather than an actively developed tool.
Install
depinfo on PyPI
pip
pip install depinfouv
uv add depinfopoetry
poetry add depinfoInstalling depinfo
Before you install
Low install friction with a single runtime dependency (importlib-metadata). Maintenance is aging—last release was in 2022 and the repository has not been updated since then, though it remains unarchived and the codebase is marked Production/Stable.
License in practice
Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install depinfo
from depinfo.application import DisplayApplication
DisplayApplication.run("depinfo")
Verify before relying
- Whether the package's aging maintenance status (last release 2022) affects its compatibility with newer Python or dependency ecosystem changes.
- Whether the single runtime dependency (importlib-metadata) is still required for modern Python versions or if it could be removed.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — importlib-metadata |
| Maintenance | aging — 1,437 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,059/month — #14,253 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: depinfo-2.2.0-py3-none-any.whl
Keywords: dependency, tree, version
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pip-licensesA command-line tool that scans installed Python…
permissive · top 5,000 on PyPI
johnnydepJohnnydep displays the full dependency tree of…
permissive · top 15,000 on PyPI
types-MarkdownProvides type stubs for the Markdown package,…
permissive · top 5,000 on PyPI
pkginfoExtracts and queries package metadata from…
permissive · top 1,000 on PyPI
darkerDarker reformats Python source code in Git…
permissive · top 15,000 on PyPI
richRich renders styled text, tables, progress…
permissive · top 100 on PyPI
pipdeptreepipdeptree displays installed Python packages…
permissive · top 5,000 on PyPI
findpythonLocates Python interpreters on your system by…
permissive · top 1,000 on PyPI
pyproject-dependenciesExtracts and prints the direct dependencies…
permissive · top 15,000 on PyPI
markdown2Converts Markdown text to HTML using a fast,…
permissive · top 5,000 on PyPI