4

Newbie question: Is there a tool that will scan a Python project & output a list of all dependencies & modules the project uses?

Emily
  • 2,129
  • 3
  • 18
  • 43
  • If you are using pip then you can just do `pip freeze` on the shell to print out pip packages installed. Otherwise look at the packages setup.py or requirements.txt – Greg Apr 28 '16 at 07:59
  • I'm using Pycharm. Is there a simple way to get Pycharm to generate a setup.py or requirements.txt file? – Emily Apr 28 '16 at 08:08
  • Are you using your own code or are you looking at someone elses? – Greg Apr 28 '16 at 08:13
  • It's my own code. There's 50+ scripts now in the project across several folders, and don't want to have to go through them 1 at at time. – Emily Apr 28 '16 at 08:34

1 Answers1

2

Generate dependency graphs from Python code

http://furius.ca/snakefood/

Example : list python package dependencies without loading them?

Community
  • 1
  • 1
user2740652
  • 361
  • 3
  • 12