Tired of forgetting to type uv pip install?
You know uv is faster, better, and stronger, but muscle memory is hard to break. You keep typing pip install and waiting... and waiting.
pip-uv is here to save you.
This package replaces your environment's pip command with a lightning-fast shim that automatically redirects everything to uv pip.
Type pip, get uv. It's that simple.
Run this once in your virtual environment:
uv pip install pip-uv(Or just pip install pip-uv if you haven't switched yet)
That's it! Now try it out:
pip install requests
# 🎉 Actually runs: uv pip install requestsAuto-switch to uv add:
If you are in a project managed by uv (with a uv.lock), pip-uv is smart enough to detect it.
If you run:
pip install requestsIt will automatically switch to:
uv add requests...ensuring your pyproject.toml stays in sync! (Only triggers for simple installs without flags).
When you install pip-uv, it places a small, optimized binary named pip into your virtual environment's bin folder. This binary shadows the standard python pip.
- You type
pip install ... - The shim intercepts the call.
- It checks if you are in a
uvproject. - It instantly replaces itself with
uv pip install ...(oruv add ...). - You enjoy pure speed.
- Zero Overhead: Written in Go, the shim uses
syscall.Execto replace the process. No python startup cost. - Transparent: Passes all arguments and flags directly to
uv. - Pre-compiled: Installs instantly on Linux, macOS, and Windows.
- uv must be installed and available in your system
PATH.
GPL-3.0