Pipreqs is a tool to generate a requirements.txt file based on the imports of any Python project. It offers various options, such as using local package info, specifying a custom PyPI server, and ignoring specific directories. You can exclude dependencies for jupyter notebooks and save the output in a specified file path. It's a flexible alternative to using pip freeze, which captures all installed packages in the environment.
2 Comments
Sort: