Skip to main content

In this article

Coding Standards/Uv Projects

Coding Standards/Uv Projects
FieldValue
Kindinstruction
Source.github/instructions/coding-standards/uv-projects.instructions.md
InvocationApplied automatically to **/*.py, **/*.ipynb
InteractiveNo

What it does

Create and manage Python virtual environments using uv commands

When to use it

Apply these instructions before running Python files or notebooks and whenever their environment or dependencies change. Use uv with the project .venv, pyproject.toml, and lockfile; do not substitute direct pip install or run Python outside the selected virtual environment.

Example usage

Provide a concrete example that shows the asset in action, including representative input and the resulting output.