Note that I'm not talking about pip, which hinges on me specifying the dependencies. Rather, what tools could analyze code any give me that initial pip file?
I also don't want something like a lock file, that mingles direct and indirect dependencies. That's useful for deployment, but my purpose here is really to analyze dependency files and figure out what projects are specifying but not using.