Skip to main content

uv

Use `uv` instead of pip/python/venv. Run scripts with `uv run script.py`, add deps with `uv add`, use inline script metadata for standalone scripts.

Quellinformationen

Repository
mitsuhiko/agent-stuff
Letzte Quellaktivität
2. März 2026 um 16:02
Erkannte Sprache von SKILL.md
Englisch
Sterne
3.195
Forks
233

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
3 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
uv
description
Use `uv` instead of pip/python/venv. Run scripts with `uv run script.py`, add deps with `uv add`, use inline script metadata for standalone scripts.
## Quick Reference ```bash uv run script.py # Run a script uv run --with requests script.py # Run with ad-hoc dependency uv run python -m ast foo.py >/dev/null # Verify syntax without writing __pycache__ uv add requests # Add dependency to project uv init --script foo.py # Create script with inline metadata ``` ## Inline Script Dependencies ```python # /// script # requires-python = ">=3.12" # dependencies = ["requests"] # /// ``` See [scripts.md](scripts.md) for full details on running scripts, locking, and reproducibility. ## Build Backend Use `uv_build` for pure Python packages: ```toml [build-system] requires = ["uv_build>=0.9.28,<0.10.0"] build-backend = "uv_build" ``` See [build.md](build.md) for project structure, namespaces, and file inclusion.
Auf GitHub ansehen