Member-only story
Let’s talk about uv, a possible future replacement of pip
A new contender in the Python packaging ecosystem
Charlie Marsh, the creator of Ruff, a fast Python linter, shocked again the Python ecosystem with his new open-source uv. Currently, it (almost) replaces some well-known tools in the Python ecosystem, virtualenv, pip and pip-tools. We will explore this tool in this article.
Installation
This library can be installed standalone.
# on Linux and macOS
$ curl -LsSf https://astral.sh/uv/install.sh | sh
# on Windows
$ irm https://astral.sh/uv/install.ps1 | iex
At the moment of writing, I have issues with the Windows command and I don’t know why because the path is correctly set and the executable is in the right folder 😅. Anyway, if you have issues like me, you can use pipx to install it.
$ pipx install uv