replace-pip-with-uv-pip

Replace pip with uv pip.

Downloads
42
Stars
0

Replace pip with uv pip

A simple script to replace pip with uv pip. Note that pip and uv pip have many differences.

Although pip maintainers are strongly against providing pip -> uv pip alias, it's still valuable in several use cases, especially in the CI service (see below).

Use cases

cibuildwheel

When using cibuildwheel, the hardcoded pip install is called when testing a wheel. There is no way to replace pip install with uv pip install on the user side. Installing replace-pip-with-uv-pip is a workaround:

# in pyproject.toml:
[tool.cibuildwheel]
before-test = ["python -m pip install replace-pip-with-uv-pip"]
Package Rankings
Top 36.15% on Pypi.org
Badges
Extracted from project README
PyPI