--- id: depinfo version: "2.2.0" license: Apache-2.0 license_treatment: permissive maintenance: aging --- # depinfo — List any package's direct dependencies and their versions. License: permissive · Maintenance: aging · Downloads: 81.1K/mo ## 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 above — 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 pip install depinfo uv add depinfo poetry add depinfo ## Installing 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_current - Install friction: low - Maintenance: aging - Downloads: 81.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags list package dependencies, show package versions, dependency tree viewer, package dependency info, inspect installed packages, dependency version checker, dependency-inspection, cli-tool [View on SkillFed](https://skillfed.io/packages/depinfo) · [View on PyPI](https://pypi.org/project/depinfo/)