uv

Run Python scripts and manage dependencies with uv.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline Python script execution by using uv to run scripts and manage dependencies.

Core Features & Use Cases

  • Run scripts with uv run script.py
  • Add dependencies with uv add
  • Use inline script metadata for reproducible environments

Quick Start

Run uv run my_script.py to execute a script with automatic dependency handling and inline metadata.

Frequently Asked Questions about uv

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

FAQPage Schema
How do I run Python scripts with automatic dependency management?

Run Python scripts with automatic dependency handling by using the command line to execute files directly. This approach utilizes uv run to process inline metadata, ensuring reproducible environments without manual package installations.

What is inline script metadata for reproducible Python environments?

Inline script metadata is a mechanism that declares dependencies directly within a Python file. This governs execution and isolation, allowing the runner to automatically resolve and install required packages for reproducible environments.

How do I add dependencies to a Python project using uv?

Add dependencies to a Python project by utilizing the uv add command. This updates the environment and integrates the required packages, streamlining dependency management for development workflows.

Can I perform ad-hoc dependency installation for small to mid-size Python scripts?

Yes, you can perform ad-hoc dependency installation for small to mid-size Python scripts. The tooling supports development workflows that execute commands with automatic dependency handling and inline metadata for isolated environments.

What's the best way to manage Python dependencies for command-based runners?

The best way to manage Python dependencies for command-based runners is to use a tool that combines script execution with inline metadata. This allows automatic dependency resolution and environment isolation directly from the command line.

Does uv work with existing Python development workflows?

Yes, uv works with existing Python development workflows by streamlining script execution and dependency management. It supports running small to mid-size scripts and performing ad-hoc dependency installation without disrupting current processes.