ijustlovemath
ijustlovemath

Reputation: 938

is there a way to graph the imports within a Python module?

I'm trying to understand the structure of a medium-sized Python project (10ksloc) while planning at refactor. Are there any utilities that have at least the following feature:

Additional features that would be nice to have:

I understand that this functionality must exist for projects like pyinstaller to work under the hood (how else would you do hook discovery?), but haven't seen anything from my searches.

If there's nothing like this, how would you build such a feature with the last module?

Upvotes: 1

Views: 48

Answers (0)

Related Questions