mingxiao
mingxiao

Reputation: 1802

Pypi, see which package requires a specific package

How can I get a list of packages that require a specific packages? Specifically I'm trying to find all packages that require astroid

Upvotes: 3

Views: 75

Answers (1)

Simeon Visser
Simeon Visser

Reputation: 122376

This is currently not possible at the time of writing as PyPI package metadata does not contain this information.

As noted in the comments, you can download all packages and analyse the contents but there is no PyPI API yet that allows you to fetch this information from PyPI.

Upvotes: 2

Related Questions