pipdeptree
https://pypi.org/project/pipdeptree/
Command line utility to show dependency tree of packages.
コマンドラインに出力する(
requirements.txt
としては使えない)
あるパッケージが使われている大元のパッケージを調べるのに使った
例:pyparsing → packaging → pytorch-lightning
(曖昧)
pip show
では使っているは分かる?使われているは分からない?
ここで知った:
https://stackoverflow.com/a/39488113
#deptree
の方がいいのかも