Skip to content

Dependency Management with uv

The generated repository uses uv for managing dependencies. When you create a repository using this template, a uv environment is pre-configured in pyproject.toml. To add your project-specific dependencies, use the following command:

uv add <package>

After adding your dependencies, install the environment with:

uv sync

You can then run commands within your virtual environment. For example, to run tests with pytest, use:

uv run python -m pytest