Running Python

Runs Python scripts and manages projects using uv. Use when asked to run a python script, execute python code, run pytest, or install packages. Always uses uv instead of pip or bare python.

tomevault-io c550a69 2 files · 1.4 KB Updated

File contents

Python with uv

Always use uv - faster and more reliable than pip/poetry.

Commands

# Run scripts - ALWAYS use uv run
uv run python script.py
uv run pytest

# Dependencies
uv add numpy
uv sync

Rules

  1. Never python script.py - always uv run python script.py
  2. Never pip install - always uv add or uv sync

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/yallup--claude-skills--running-python commit c550a691bb

Frequently asked questions

npx skillmds@latest add tomevault-io/running-python