running-python

yallup's avatarfrom yallup

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.

⭐1stars🔀0forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill enables high-performance Python execution and project management powered by 'uv'. It optimizes the development workflow by providing a faster, more reliable alternative to pip and poetry for running scripts, managing dependencies, and executing test suites within a standardized environment.

Use Cases

  • Rapid Script Execution: Use 'uv run' to instantly execute Python scripts with automatic environment handling, ensuring all required dependencies are present.
  • Efficient Package Management: Streamline project setup by using 'uv add' and 'uv sync' for lightning-fast installation and reproducible dependency locking.
  • Automated Testing: Run comprehensive test suites using 'uv run pytest' to maintain code quality and catch bugs early in the development cycle.
  • Environment Standardization: Enforce development best practices by replacing legacy pip commands with uv, reducing configuration errors and 'works on my machine' inconsistencies.
namerunning-python
descriptionRuns 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.
version2.0.0

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