skillfed

depinfo

List any package's direct dependencies and their versions.

depinfo v2.2.0 81.1K downloads/30d#14,253 on PyPI4
Permissive license Apache-2.0 AGING released

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 depinfo

uv

uv add depinfo

poetry

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 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Tags

list package dependenciesshow package versionsdependency tree viewerpackage dependency infoinspect installed packagesdependency version checker
dependency-inspectioncli-tool

More Utilities packages