Devops
🚀 UV, el nuevo estándar para Python
reading time: 1 minute
🧩 ¿Qué es UV?
uv
es una herramienta moderna creada por Astral (los de ruff 🦀) para reemplazar pip, virtualenv, pip-tools y pipx con un solo binario rápido y eficiente.
⚙️ Instalación
# En macOS & Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh
# o con Homebrew
brew install uv
# En Windows.
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
📦 Crea tu entorno en segundos
Antes:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Ahora: