pip, poetry, uv, pdm: one Python command, four spellings
You open a Python project's README and it says `poetry add requests`. Your shop uses pip and requirements.txt. Or the README says `uv sync` and you've never used uv before, is it like `pip install -r requirements.txt`? The reverse is just as common: you wrote a tutorial for pip and someone on pdm asks "what does that look like for me".
This translator does the boring lookup. Pick the source manager, type a command you know (`pip install requests`, `poetry add fastapi --group dev`, `uv sync`, `pdm add httpx`), and you get the exact equivalents for all 4 Python package managers in one view. Verbs, flags, extras, dev groups, VCS installs, editable installs, all mapped.
It is a pure dictionary, nothing executes, no network call leaves the page, no telemetry. Open DevTools and confirm. Useful when you migrate a project from pip to poetry or from poetry to uv, when you maintain docs for multiple managers, or when you just want to remember "how do you uninstall in pdm".
How to use it
- Pick the source manager in the segmented bar at the top: pip, poetry, uv or pdm. This tells the translator which syntax your command is written in.
- Type the command in the input. Full form (`pip install --upgrade -r requirements.txt`) or short form (`poetry add fastapi`). The leading manager name is optional, `add requests` works the same as `pip install requests` for the matching source.
- The translator detects the verb (install, add, remove, run, list, show, outdated, lock, init, build, publish, update, export, freeze, editable, vcs) and preserves package names, extras and flags in the right syntax for each target.
- Read the 4-row output below: each row is one manager (pip / poetry / uv / pdm) with the equivalent command. Click copy on a row to grab it to clipboard.
- For dev dependencies use the source manager's native form: `poetry add --group dev pytest`, `uv add --dev pytest`, `pdm add -d pytest`. The translator maps each into the others.
- For extras type `pkg[extra]` (e.g. `uv add fastapi[all]`). The translator preserves extras across managers, switching bracket form to `--extras` where the manager needs it (poetry).
- For editable installs (`pip install -e .`) and VCS installs (`git+https://github.com/user/repo.git`) the translator emits the right idiom for each manager.
- Scroll down to the quick reference table: the 12 most common actions side by side, scannable when you only need a reminder.
- Nothing runs, this is a pure text translator. To actually execute the command, paste it into your terminal.
When this is useful
Six typical situations where the translator saves you a tab in someone else's documentation:
- Migrating a project from pip + requirements.txt to a modern manager. Your repo has 40 packages in `requirements.txt` and you want to move to poetry or uv for proper lock files and dev groups. You paste each `pip install pkg` line into the translator, copy the `poetry add pkg` or `uv add pkg` form into your terminal, and finish the migration in one afternoon.
- Following a tutorial written for a different manager. A FastAPI tutorial says `poetry install`. You use pip. You type `poetry install` into the translator and copy `pip install -r requirements.txt` straight to your terminal. No guessing what poetry is doing under the hood.
- Maintaining open-source docs that cover multiple managers. Your library README needs to show `pip install your-lib` and `poetry add your-lib` and `uv add your-lib` and `pdm add your-lib` side by side. The translator gives you all 4 in one row, copy them into the docs and stay consistent.
- Onboarding a new developer who knows poetry but joined a uv shop. You point them to the translator. By end of day they have a mental map of the 12 commands they actually use, no need to read a 100-page manual.
- Mixed teams in a monorepo. Backend on poetry, scripts on pip, ML team on uv (because uv installs PyTorch in 6 seconds instead of 90). The translator lets each team read the others' setup instructions without a side meeting.
- Writing a blog post or Stack Overflow answer. You write the command in your preferred manager, then paste the quick reference table under it so every reader can find their flavor without complaining "but I use pdm".