4 ms·
I don’t know if this is how pipreqs works, but I’d be concerned about a typo in an import that inadvertently installs a library. I’ve found pip-tools [1] to be
by halfcat 2y ago
I don’t know if this is how pipreqs works, but I’d be concerned about a typo in an import that inadvertently installs a library.
I’ve found pip-tools [1] to be a nice middle ground between `pip freeze` and something heavier like poetry. It’s especially helpful in showing you where a library came from, when a library installs other libraries it depends upon.
One could still have a typo in their requirements.in file with pip-tools, but changes there are much less frequent than imports in any Python file in your proejcf which could be a daily occurrence in some codebases.
[1] https://github.com/jazzband/pip-tools https://github.com/jazzband/pip-tools