pyreqs ubuntu code example
Example: pipreqs
$ pipreqs /home/project/location
Successfully saved requirements file in /home/project/location/requirements.txt
$ pipreqs /home/project/location
Successfully saved requirements file in /home/project/location/requirements.txt