uv-python

Automate Python project setup, dependency management, and environment orchestration with UV.

19|3|Updated Feb 4, 2021
One-click install
npx skills add https://github.com/laulauland/dotfiles --skill uv-python-laulauland
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: uv-python
Source: https://github.com/laulauland/dotfiles/tree/main/shared/.claude/skills/uv-python
Command: npx skills add https://github.com/laulauland/dotfiles --skill uv-python-laulauland

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes Python development by using UV as a single, fast tool to manage packaging, environments, and Python versions, replacing pip, virtualenv, pyenv, poetry, and pipx.

Core Features & Use Cases

  • Unified project setup and dependency management with uv init and uv add
  • Virtual environment management and Python version handling with uv venv and uv python
  • Fast, cross-platform execution with uv run and reproducible locks using uv.lock

Quick Start

Install UV and run uv init to start a new Python project.

Frequently Asked Questions about uv-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to manage Python dependencies and virtual environments together?▼

Using UV provides a unified approach to manage Python dependencies and virtual environments together. It replaces pip, virtualenv, and poetry by handling project setup, lockfiles, and version orchestration in one tool.

How do I set up a new Python project and add dependencies using UV?▼

To set up a new Python project using UV, run `uv init` to initialize the workspace, then use `uv add` to include dependencies. This process automatically handles virtual environment creation and generates reproducible lockfiles.

Can I use UV to install and switch between different Python versions?▼

Yes, you can use UV to install and switch between different Python versions. The `uv python` command handles Python version management, allowing teams to standardize on specific interpreter versions across different environments.

Does UV replace pip, pyenv, and poetry for Python package management?▼

UV replaces pip, pyenv, poetry, virtualenv, and pipx for Python package management. It standardizes development by serving as a single, fast tool to manage packaging, environments, and Python versions.

How do I execute Python scripts across different platforms with consistent dependencies?▼

You can execute Python scripts across different platforms with consistent dependencies using `uv run`. This cross-platform command ensures reproducible execution by relying on the `uv.lock` file to resolve the exact environment.

Why use a unified Python tooling workflow instead of separate package managers?▼

A unified Python tooling workflow using UV ensures fast, reliable project setup and dependency resolution. It prevents environment drift by replacing fragmented tools like pip and pyenv with a single execution and lockfile standard.