Skip to main content

An extremely fast Python task runner.

Project description

uvtask

image image image Actions status PyPIDownloads

An extremely fast Python task runner.

Highlights

  • 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

🎯 Quick Start

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]

📝 Configuration

Define your scripts in pyproject.toml under the [tool.run-script] section:

[tool.run-script]
install = "uv sync --dev --all-extras"
format = "ruff format ."
lint = { command = "ruff check .", description = "Check code quality" }
check = ["ty check .", "mypy ."]
pre-test = "echo 'Running tests...'"
test = "pytest"
post-test = "echo 'Tests completed!'"
deploy = [
    "echo 'Building...'",
    "uv build",
    "echo 'Deploying...'",
    "uv deploy"
]

🛠️ Development

To run the development version:

uvx -q --no-cache --from $PWD uvtask

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT © uvtask contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uvtask-0.4.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uvtask-0.4.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file uvtask-0.4.0.tar.gz.

File metadata

  • Download URL: uvtask-0.4.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for uvtask-0.4.0.tar.gz
Algorithm Hash digest
SHA256 079f1496ffaea6698267a69a8c71242a1244a95c29ac3740ab7f4a0ad2b4f76a
MD5 e45f11d16e8f11d75c6835b3b8068d51
BLAKE2b-256 1ea3d08e1762ad97477ccc8600b2c95d9ac34f4619a2c9e404ccbd424c34b0d6

See more details on using hashes here.

File details

Details for the file uvtask-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: uvtask-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for uvtask-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db2374fdab057fdfece1d1acf2b0347bc60850d2051c7263b1350e48a3478c4d
MD5 d17e8dc35f3b0e714ae960f936a5e841
BLAKE2b-256 d5a809c846b92fc49c82dbe9325d96fd27613792f05411e9b461684724c29412

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page