uv

Manage Python packages, projects, and environments with uv.

3|1|Updated Jun 20, 2020
One-click install
npx skills add https://github.com/gmolveau/dotfiles --skill uv-gmolveau
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv
Source: https://github.com/gmolveau/dotfiles/tree/main/.ia/skills/uv
Command: npx skills add https://github.com/gmolveau/dotfiles --skill uv-gmolveau

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a unified and significantly faster tool for managing Python packages, projects, and environments, replacing multiple traditional tools like pip, venv, and pyenv.

Core Features & Use Cases

  • Unified Python Management: Handles package installation, dependency resolution, environment creation, and script execution.
  • Speed: Offers dramatically faster performance for common Python development tasks.
  • Use Case: When starting a new Python project, use uv init to set it up quickly, uv add <package> to manage dependencies, and uv run <command> to execute scripts within the project's isolated environment.

Quick Start

Use uv to install the 'requests' package into the current Python project.

Frequently Asked Questions about uv

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

FAQPage Schema
How do I set up a new Python project and manage dependencies with uv?

To set up a new Python project, use `uv init` to generate the structure, `uv add <package>` to install dependencies, and `uv run <command>` to execute scripts within the isolated environment.

What is the fastest way to manage Python packages and virtual environments?

Using uv provides a unified and significantly faster approach for Python package installation, dependency resolution, and virtual environment creation, replacing multiple traditional tools like pip and virtualenv.

Can I use uv to replace pip, pipx, and pyenv for Python development?

Yes, uv replaces tools like pip, pip-tools, pipx, pyenv, and virtualenv by integrating package management, dependency resolution, script execution, and Python version management into a single workflow.

Does uv work with existing requirements.txt files and pyproject.toml?

Yes, uv supports workflows for both modern projects using pyproject.toml and legacy projects utilizing requirements.txt files for dependency management and installation.

How do I run Python scripts in an isolated environment without manual setup?

You can use `uv run <command>` to execute scripts directly within the project's isolated environment, automatically handling the required dependencies and environment isolation without manual activation.

What is the best way to install and run command-line tools in Python?

Use the `uvx` command to quickly install and execute Python command-line tools within isolated environments, replacing the functionality traditionally provided by pipx.