A simple task runner.
Project description
duty
A simple task runner.
Inspired by Invoke.
Installation
pip install duty
With uv:
uv tool install duty
Quick start
Create a duties.py file at the root of your repository.
from duty import duty
@duty
def docs(ctx):
ctx.run("mkdocs build", title="Building documentation")
You can now use the command line tool to run it:
duty docs
See the Usage section in the documentation for more examples.
Also see "Why choosing duty over...".
Sponsors
And 7 more private sponsor(s).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
duty-1.9.0.tar.gz
(137.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
duty-1.9.0-py3-none-any.whl
(125.7 kB
view details)
File details
Details for the file duty-1.9.0.tar.gz.
File metadata
- Download URL: duty-1.9.0.tar.gz
- Upload date:
- Size: 137.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ea0531f470ec49f6acf53d28fd36cabfe000e823f1643e8b0f68b89e7de0dc
|
|
| MD5 |
7817d2b015c9af88ac6edf299e06c4c8
|
|
| BLAKE2b-256 |
c62c71621d8745704916b6c82676507e1846879f0e03efc49030b78f54d005e9
|
File details
Details for the file duty-1.9.0-py3-none-any.whl.
File metadata
- Download URL: duty-1.9.0-py3-none-any.whl
- Upload date:
- Size: 125.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f538c4afc0f513fa7cb9979ab39ada05abcd62afe9c1df90768749f09f0bdbc1
|
|
| MD5 |
1696529ed8b4fe8ce1120c6cb1c6cfc8
|
|
| BLAKE2b-256 |
54da69c8dc76088584eae227d6ec3e682aabf972fbfe39bc037b6d6820c4529a
|