I made a command line tool that identifies exactly where dependencies are used in your project and generates a report. You can look at just external dependencies via the requirements.txt file, you can get a report of where all dependencies (internal and external) are used, and you can also get a report showing where one or several specific libraries are used in your project. Reports give you filepaths relative to the top level of your project and lines within those files that use each library, but you have the option to include the content of the affected lines as well. By default the report gets printed to stdout, but you can have thaw write the report to a timestamped .txt file as well.I have more features planned for thaw that are listed in its GitHub project. Please check thaw out on GitHub and let me know what you think!
https://github.com/kateapault/pip-thaw