pipreqs - Generate requirements.txt file for any project based on imports Installation pip install pipreqs Usage Usage: pipreqs <path> [options] Options: --savepath Supply custom path for requirements.txt --debug See debug output Example $ pipreqs /home/project/location Successfuly saved requirements file in: /home/project/location/requirements.txt