Find who depends on a Python package

PyPI does not list which packages depend on yours. Use pipdeptree --reverse if the package is already in your venv, or a third-party index for the rest of PyPI. On PyDeps, open the Dependents tab or append #dependents.

Why PyPI cannot show reverse dependencies

Python packaging allows dynamic dependencies. Building an accurate reverse graph requires scanning essentially every package on the index. See warehouse issue 18196.

Local reverse lookup with pipdeptree

In an installed environment: pipdeptree --reverse --packages urllib3. This only answers what in the current venv requires the package.

Global reverse indexes

Wheelodex, libraries.io, deps.dev, and PyDeps each expose reverse dependents from published metadata. Results are approximate because of dynamic metadata and environment markers.

Try reverse dependents on PyDeps

Related