pipreqs: Generate requirements.txt File for Any Project Based on Imports

pip freeze saves all packages in the environment, including ones that you don’t use in your current project.

To generate a requirements.txt based on imports, use pipreqs.

Link to pipreqs.

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran