An extremely fast Python task runner.
- β‘ Extremely fast - Built for speed with zero installation overhead
- π Simple configuration - Define scripts in
pyproject.toml - π Pre/post hooks - Automatically run hooks before and after commands
- π¨ Beautiful output - Colorful,
uv-inspired CLI
Run uvtask directly with uvx (no installation required):
uvx uvtask <OPTIONS> [COMMAND]Or install it and use it directly:
uv add --dev uvtask
uvtask <OPTIONS> [COMMAND]Define your scripts in pyproject.toml under the [tool.run-script] section:
[tool.run-script]
install = "uv sync --dev --all-extras"
format = "uv run ruff format ."
lint = { command = "uv run ruff check .", description = "Check code quality" }
check = ["uv run ty check .", "uv run mypy ."]
pre-test = "echo 'Running tests...'"
test = "uv run pytest"
post-test = "echo 'Tests completed!'"
deploy = [
"echo 'Building...'",
"uv build",
"echo 'Deploying...'",
"uv deploy"
]To run the development version:
uvx -q --no-cache --from $PWD uvtaskContributions are welcome! Please feel free to submit a Pull Request.
MIT Β© uvtask contributors