pip-compile-multi
Compile multiple requirements files to lock dependency versions
What it is and what it does
pip-compile-multi is a command-line wrapper around pip-tools that extends its capabilities to handle multiple requirements files in a single run. Instead of manually running pip-compile on each file, you point the tool at a directory or configuration and it resolves all transitive dependencies across files, outputting locked versions to corresponding .txt files. It uses click for CLI handling and toposort to manage file dependencies, and can optionally delegate resolution to uv instead of pip-tools for faster compilation.
The tool is designed for projects with layered or environment-specific requirements—such as base.txt, dev.txt, and test.txt—where you need consistent locked versions across all layers. It supports features like autoresolve for conflict-free compilations, configuration via pyproject.toml, and pass-through flags for pip-tools options like backtracking and build isolation.
Use it for:
- Lock dependencies for a multi-environment project (base, dev, test, prod) in one command.
- Maintain consistent transitive dependency versions across separate requirements files.
- Integrate pip-compile into CI/CD pipelines to regenerate locked files on dependency updates.
- Use uv resolver for faster compilation when pip-tools is too slow on large dependency trees.
- Configure requirements compilation rules in pyproject.toml for team-wide consistency.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Compiles multiple requirements files into locked dependency versions using pip-tools or uv, resolving transitive dependencies across files.
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem for projects with multiple requirements files. It is stable (Production/Stable status) and widely used (top 15000 on PyPI). Install it if you manage multiple requirements files and want to lock versions across them efficiently.
Install
pip-compile-multi on PyPI
pip
pip install pip-compile-multiuv
uv add pip-compile-multipoetry
poetry add pip-compile-multiInstalling pip-compile-multi
Before you install
Low install friction with just three runtime dependencies (click, pip-tools, toposort). Actively maintained with recent releases; last commit 2026-08-12. Supports Python 3.10–3.14.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pip-compile-multi
pip-compile-multi
Requires Python ~=3.10 and pip-tools as a runtime dependency.
Verify before relying
- Whether the tool handles circular dependencies or conflicting version constraints across files.
- Performance characteristics when compiling very large numbers of requirements files.
- How the uv resolver integration (added in 3.2.0) compares to pip-tools in speed and compatibility.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (~=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — click, pip-tools, toposort |
| Maintenance | actively maintained — 116 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 138,333/month — #11,332 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pip_compile_multi-3.3.1-py2.py3-none-any.whl
Keywords: pip-compile-multi
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pip-toolspip-tools provides command-line tools to…
permissive · top 5,000 on PyPI
unidepUniDep unifies Conda and Pip dependency…
unclear · top 15,000 on PyPI
poetry-plugin-exportExports Poetry's locked dependency tree to…
permissive · top 1,000 on PyPI
migrate-to-uvAutomates migration of Python projects from…
permissive · top 15,000 on PyPI
pip-reviewpip-review is a command-line wrapper around pip…
permissive · top 15,000 on PyPI
all-packagesAttempts to install every package from PyPI…
permissive · top 15,000 on PyPI
pipfileProvides a design specification and parser for…
permissive · top 15,000 on PyPI
poetryPoetry is a dependency management and packaging…
permissive · top 1,000 on PyPI
dependency-groupsParses and resolves PEP 735 dependency groups…
permissive · top 5,000 on PyPI
pip-chillpip-chill generates a minimal requirements file…
copyleft · top 15,000 on PyPI