pypa/pip-tools
View on GitHub ↗ ★ 8,007 Python
A set of tools to keep your pinned Python dependencies fresh.
64 mentions on Hacker News by 59 people: 3 stories, 61 comments · first 2013-01-28 · latest 2026-03-19
20082026
-
Discussion: https://github.com/jazzband/pip-tools/discussions/2353
comment by OutOfHere · 2026-03-19 · in Astral to Join OpenAI -
This is your friendly PSA that pip-tools still exist. https://github.com/jazzband/pip-tools
comment by opyate · 2026-03-19 · in Astral to Join OpenAI -
…getting all the attention these days. Others like pip-tools have support in the roadmap ( https://github.com/jazzband/pip-tools/issues/2027 )
comment by meander_water · 2025-07-22 · in Uv: Running a script with dependencies -
…imports in any Python file in your proejcf which could be a daily occurrence in some codebases. [1] https://github.com/jazzband/pip-tools
comment by halfcat · 2024-09-30 · in Generate pip requirements.txt file based on imports of any project -
…to change library versions even if there are no true conflicts. My friend, here is what you seek: https://github.com/jazzband/pip-tools requirements.txt is flat because it's really the output of `pip freeze`. It's supposed to completely…
comment by globular-toast · 2024-03-26 · in Pyenv – lets you easily switch between multiple versions of Python -
…of, that's what windmill's hub is for [3] [1]: https://github.com/windmill-labs/windmill [2]: https://github.com/jazzband/pip-tools [3]: https://hub.windmill.dev/
comment by rubenfiszel · 2023-01-15 · in Single-file scripts that download their dependencies -
Check out pip-tools [1] which does exactly that, albeit in a slightly more polished way. [1]: https://github.com/jazzband/pip-tools
comment by Dunedan · 2022-12-21 · in A not so unfortunate sharp edge in Pipenv -
I've been using pip-compile from https://github.com/jazzband/pip-tools for this use case; a standard project Makefile defines "make update" which pip-compiles the current requirements, and "make install" installs the frozen requirements…
comment by gegtik · 2022-12-10 · in Show HN: Panoptisch – A recursive dependency scanner for Python projects -
…python software versions in a requirements.txt from a requirements.in meta-dependency-spec-file: https://github.com/jazzband/pip-tools#updating-requirements $ pip-compile --upgrade requirements.in $ cat requirements.tct Poetry has an…
comment by westurner · 2022-09-24 · in Vulhub: Pre-Built Vulnerable Environments Based on Docker-Compose -
…either because a programmer's job is to automate boring tasks like dependency pinning. [0] https://github.com/jazzband/pip-tools
comment by jmconfuzeus · 2022-08-17 · in Python and manually creating the requirements.txt vs. pip freeze -
Look at what the well-regarded pip-tools ( https://github.com/jazzband/pip-tools ) does, for a disciplined approach to these requirements files. You don't necessarily need to adopt that tool, but can maybe take inspiration from it.
comment by frou_dh · 2022-08-17 · in Python and manually creating the requirements.txt vs. pip freeze -
…that just gets out of your way instead of mandating a totally separate workflow a la Poetry. [1] https://github.com/jazzband/pip-tools
comment by sinsterizme · 2022-07-19 · in Learning Go as a Python Developer: The Good and the Bad -
…snippet in a pip-tools issue that will list only the outdated root dependencies in requirements.in: https://github.com/jazzband/pip-tools/issues/1167 I personally find it extremely useful when upgrading dependencies.
comment by Alex3917 · 2022-07-15 · in Freezing Requirements with Pip-Tools -
…to a tool like "poetry" [2] (which is what "pip-compile-cross-platform" uses under-the-hood ) [1] https://github.com/jazzband/pip-tools#cross-environment-usag... [2] https://github.com/python-poetry/poetry/
comment by mitchhentges · 2022-05-31 · in Show HN: Pip-compile-cross-platform Python dependency pinning but cross-platform -
…streamlining dependency resolution, but it may not provide any benefit for one-shot installs. [0] https://github.com/jazzband/pip-tools
comment by edpenz · 2022-05-29 · in Making pip installs a little less slow -
That's helpful to know. Looks like an update to use the new resolver is close: https://github.com/jazzband/pip-tools/pull/1539
comment by rsyring · 2022-04-28 · in Show HN: Hatch 1.0.0 – Modern, extensible Python project management -
…also use pipx[2] to install Python based tools onto my system so they have their own virtualenv. 1: https://github.com/jazzband/pip-tools 2: https://github.com/pypa/pipx
comment by rsyring · 2022-04-28 · in Show HN: Hatch 1.0.0 – Modern, extensible Python project management -
…seems to acknowledging PEP621 https://pip-tools.readthedocs.io/en/latest/changelog/?highli... https://github.com/jazzband/pip-tools/issues/1047
comment by kbumsik · 2021-12-10 · in PDM: A Modern Python Package Manager -
…are semver, freeze them, and then re-write them down to their minimal versions and re-install. [1]: https://github.com/jazzband/pip-tools
comment by woodruffw · 2021-12-04 · in Pip-audit: Google-backed tool probes Python environments for vulnerable packages -
With pip-tools. https://github.com/jazzband/pip-tools And you can still use standard setup.cuff and pip install -e unlike Poetry. Also, much faster.
comment by nomdep · 2021-07-05 · in Python Best Practices for a New Project in 2021 -
…pinning and dependency management with common Python practices (e.g., requirements.txt). 1: https://github.com/jazzband/pip-tools
comment by arusahni · 2021-02-10 · in A Poetic Apology: Or Why Should You Use Poetry to Manage Python Dependencies -
…file shortcoming is better remedied by pip-tools [1] as recommended by a neighboring comment. [1]: https://github.com/jazzband/pip-tools
comment by divbzero · 2021-02-03 · in Pipenv: Python Dev Workflow for Humans -
…dependant packages are not removed from freeze. You have to do it manually. (interesting link: https://github.com/jazzband/pip-tools ) 3. Freeze is flat list (npm can restore tree structure)
comment by tandav · 2021-01-02 · in Virtual Environments Demystified -
…for pip-tools which has been around longer, is less opinionated and has many of the same benefits https://github.com/jazzband/pip-tools
comment by groodt · 2020-11-30 · in Python Pip 20.3 Released with new resolver -
FWIW I had a lot of success using https://github.com/jazzband/pip-tools to have dependencies automatically managed in a virtualenv. * Basically I would have a single bash script that every `.py` entrypoint links to. * Beside that symlink…
comment by vlovich123 · 2020-11-12 · in Guido van Rossum joins Microsoft -
I strongly recommend https://github.com/jazzband/pip-tools to solve this. It provides a simple script to take a requirements file and "compile" a full specification of all transitive dependencies. You check both files into the repo, point…
comment by HALtheWise · 2020-08-06 · in The creeping scourge of tooling config files in project root directories -
…or paradigm's. No PEP waiting to be adopted by everyone. Just good old requirements.txt + Pip. [0] https://github.com/jazzband/pip-tools
comment by aequitas · 2020-06-08 · in Python Wheels Crosses 90% -
pip-tools is almost never mentioned because it's boring but great. I always default to it. https://github.com/jazzband/pip-tools
comment by vmsp · 2020-06-01 · in Overview of Python dependency management tools -
…further internet access was required. It wasn't easy but eventually it worked super reliably. [1] https://github.com/jazzband/pip-tools
comment by vlovich123 · 2020-05-28 · in Hypermodern Python -
…(being discussed favorably downthread as a pipenv alternative) is a Jazzband member project: https://github.com/jazzband/pip-tools .
comment by medmunds · 2019-12-13 · in If this project is dead, just tell us -
Have a look at https://github.com/jazzband/pip-tools#workflow-for-layered-r... Both the 'input' and 'output' requirements are pip compatible files (just with different extensions). It uses pip features like '-c' to include other contraints…
comment by aequitas · 2019-12-13 · in If this project is dead, just tell us -
I’ve heard good things about pip-tools: https://github.com/jazzband/pip-tools
comment by yingw787 · 2019-12-13 · in If this project is dead, just tell us -
…[0] https://github.com/python-poetry/poetry/issues/872 [1] https://github.com/cs01/pythonloc [2] https://github.com/jazzband/pip-tools
comment by acemarke · 2019-12-13 · in Poetry – Dependency Management for Python – v1.0 -
I've had a good experience with pip-tools ( https://github.com/jazzband/pip-tools/ ) which takes a requirements.in with loosely-pinned dependencies and writes your requirements.txt with the exact versions including transitive dependencies.
comment by sciyoshi · 2019-08-12 · in Python Is Eating the World -
…they don't know what they're doing and haven't paid attention to the ecosystem for years. [1] https://github.com/jazzband/pip-tools [2] https://docs.pipenv.org/en/latest/ [3] https://tox.readthedocs.io/en/latest/
comment by Groxx · 2019-05-19 · in “Python's batteries are leaking” -
I recommend pip-tools along with pyenv and pyenv-virtualenv. https://github.com/jazzband/pip-tools https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv-virtualenv
comment by neillyons · 2018-12-06 · in Pipenv: promises a lot, delivers very little -
`pip-compile --generate-hashes` is the best way to manage python dependencies. https://github.com/jazzband/pip-tools https://gist.github.com/hynek/5e85706cee589a204251b333595853...
comment by j88439h84 · 2018-12-06 · in Pipenv: promises a lot, delivers very little -
…compiles. It's vendored in pipenv, so it's basically the dependency engine for pipenv. [1] https://github.com/jazzband/pip-tools
comment by rectalogic · 2018-12-05 · in Pipenv: promises a lot, delivers very little -
Another good one is pip-tools: https://github.com/jazzband/pip-tools (which pipenv set out to replace initially, but it does a terrible job of it IMO)
comment by Bogdanp · 2018-10-17 · in Responder: A familiar HTTP Service Framework -
virtualenv + pip-tools https://github.com/jazzband/pip-tools
comment by xycco · 2018-07-25 · in Freezing Python’s Dependency Hell -
…requirements and production requirements which makes these packaging scripts much more complicated. https://github.com/jazzband/pip-tools would be what I used before pipenv came to be.
comment by wirrbel · 2018-02-22 · in My Python Development Environment, 2018 Edition -
…or am I missing a crucial advantage of Anaconda? [1] https://github.com/kennethreitz/autoenv [2] https://github.com/jazzband/pip-tools [3] https://github.com/pyupio/pyup
comment by thenaturalist · 2018-01-04 · in Docker for data scientists: Introduction and use cases -
…theoretical either - it happened to us in production. We are using `pip-tools` to manage that: https://github.com/jazzband/pip-tools
comment by yen223 · 2017-09-07 · in The Incredible Growth of Python -
…lot of more applications need more machinery, yielding utilities like pip-tools[0] and conda. [0]: https://github.com/jazzband/pip-tools
comment by mhashemi · 2017-05-10 · in The Many Layers of Packaging: Why PyPI Isn't an App Store -
I'm surprised that no one has mentioned pip-tools: https://github.com/nvie/pip-tools It's a very similar set of tools. I use pip-compile which allows me to put all of my dependencies into a `requirements.in` file, and then "compile" them…
comment by conradev · 2017-01-23 · in Announcing Pipenv -
…already have a requirements.lock. in fact, there's already a library for this called pip-tools ( https://github.com/nvie/pip-tools ) that generates a requirements.txt (the lock file) from a requirements.in (your direct dependencies)
comment by rickycook · 2016-11-22 · in Pipfile for Python -
I think the issue here is that it adds so much complexity. There's a project called pip-tools ( https://github.com/nvie/pip-tools ) that does a similar thing (generates a requirements.txt, test-requirements.txt etc) from a requirements.in…
comment by rickycook · 2016-11-22 · in Pipfile for Python -
…a better idea than using pip and you also have to explain it to anyone that joins your project. 0: https://github.com/nvie/pip-tools
comment by K0nserv · 2016-08-24 · in Why People Should Learn Python -
https://github.com/nvie/pip-tools solves this by providing pip-sync, which will uninstall removed packages.
comment by chronial · 2016-08-14 · in Python packaging is good now -
…-e) to work on it and pip runs amok, naïvely downgrading/upgrading/doing-whatever-it-pleases :/ [1] https://github.com/nvie/pip-tools
comment by nilliams · 2016-07-29 · in Comparison of Programming Language Package Managers