What problem does it solve?
This Skill addresses the common pain points in Python development: slow dependency resolution, inconsistent environments, and non-reproducible builds caused by fragmented tooling (pip, venv, pip-tools). It enforces uv as the single, fast, and reliable solution for package management, ensuring consistent and efficient workflows.
Core Features & Use Cases
- Unified Package Management: Replaces
pip, virtualenv, and pip-tools with uv for environment creation, dependency installation, and package locking.
- Reproducible Environments: Generates and uses
uv.lock to pin exact dependency versions, guaranteeing consistent builds across all environments (local, CI, production).
- Fast Command Execution: Runs all Python commands (
pytest, ruff, mypy) through uv run, leveraging uv's speed and caching for rapid feedback.
- Use Case: When onboarding to a new Python project, simply run
uv venv .venv && source .venv/bin/activate && uv sync to set up a fully reproducible and optimized development environment in seconds.
Quick Start
To set up a new Python virtual environment and install dependencies using uv, run 'uv venv .venv && source .venv/bin/activate && uv sync' in your project directory.