| name | uv-package-manager-5-running-scripts-and-commands |
| description | Sub-skill of uv-package-manager: 5. Running Scripts and Commands (+1). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
5. Running Scripts and Commands (+1)
5. Running Scripts and Commands
Run Python scripts:
uv run python script.py
uv run python -m pytest
uv run --python 3.11 python script.py
Run tools:
uv run pytest tests/
uv run ruff check src/
uv run black src/
uv run mypy src/
6. pip Compatibility Mode
Use UV as a pip replacement:
uv pip install pandas numpy
uv pip install -r requirements.txt
uv pip install -e .
uv pip compile requirements.in -o requirements.txt
uv pip sync requirements.txt
uv pip freeze > requirements.txt
uv pip show pandas