pipreqs, or: lazy magic

2016/09/05
Monday

pipreqs is a command-line tool which analyzes modules imported in a directory, maps them to PyPI packages, and generates a version-pinned requirements.txt based on it.