The cover is from the official
uvdocumentation.
Life Is Short Use uv#
An extremely fast Python package and project manager, written in Rust.
Only fast can describe uv. Once you use it, you won’t go back to poetry!
Download#
curl -LsSf https://astral.sh/uv/install.sh | shUsage#
Manage Virtual Environments#
Creates a virtual environment in the .venv folder
uv python pin 3.12
uv venv
# or inline command
uv venv --python 3.12Install Packages#
Sync the dependencies from pyproject.toml to the virtual environment
uv syncInstall a package
uv add requestspip Interface#
uv provides an interface for pip
uv pip install -r requirements.txtFAQ#
The default ulimit setting on MacOS (default 256) is too low for the number of open file descriptors.
This may cause a Too many open files error during installation.
You can change the file descriptor limit, for example, set it to 2048:
ulimit -n 2048





