All Python dependencies can be accessed by querying the python language graph in

deps get dependencies -l python -n <name>
deps get dependents -l python -n <name>

TensorFlow is a popular library amongst data scientists and machine learning practitioners. To determine which libraries TensorFlow requires:

deps get dependencies -l python -n tensorflow

To determine consumers of TensorFlow:

deps get dependents -l python -n tensorflow

Supported Formats builds its python graph from the following files.

  • Pipfile (pipfile in the API)
  • requirements.txt (pip in the API)
    • Due to limitations in the requirements.txt format, this is currently a best-effort implementation.
Last modified April 10, 2021: typod date in post (84724b5)