4

How would I most easily get all direct dependants for a package ?

For example let's take the flask package. It depends on Jinja2 and some other packages. What other packages use the Jinja2 package ?

Essentially a pip equivalent of apt-cache rdepends <package>

Having the option to see indirect dependants would be nice too.

Martin Gergov
  • 1,556
  • 4
  • 20
  • 29

1 Answers1

1

Take a look at johnnydep (https://pypi.org/project/johnnydep/), it will give you a dependency tree with versions for a given package.

RustyPython
  • 370
  • 1
  • 7