Handling dependencies with UV

November, 01, 2025

I've decided to use UV to keep my Python workflow fast and simple. It replaces pip, virtualenv, pip-tools, and pipx for me—one tool that installs, locks, and runs everything. Because it’s written in Rust, my env creation and installs are super quick, with solid caching and offline reliability. I get deterministic lockfiles (uv lock), first-class pyproject.toml support, and easy commands like uv run, uv venv, and uvx. Net result: fewer tools to juggle, faster feedback loops, and environments I can trust.

In a nutshell, install UV and run the next commands:

# create uv’s project files (doesn’t touch your venv)
cd ~/your_project
uv init --bare

ln -s /path/to/your-venv .venv
# or instead of creating link, you can modify gunicorn.service 
# changing venv to .venv

uv add -r requirements.txt
uv lock
uv sync

 


Similar articles:

Learning Python

Learning Modern Linux

Rust course for begginers

Reddit