Skip to main content

A simple task runner.

Project description

duty

ci documentation pypi version gitter

A simple task runner.

Inspired by Invoke.

demo

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

Silver sponsors

FastAPI
Pydantic

Bronze sponsors

Nixtla


ofek samuelcolvin tlambert03 ssbarnea femtomc cmarqu kolenaIO ramnes machow BenHammersley trevorWieland MarcoGorelli analog-cbarber OdinManiac rstudio-sponsorship schlich butterlyn livingbio NemetschekAllplan EricJayHartman 15r10nk activeloopai roboflow cmclaughlin blaisep RapidataAI rodolphebarbanneau theSymbolSyndicate blakeNaccarato ChargeStorm Alphadelta14 Cusp-AI

And 7 more private sponsor(s).

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

duty-1.9.0.tar.gz (137.2 kB view details)

Uploaded Source

Built Distribution

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

duty-1.9.0-py3-none-any.whl (125.7 kB view details)

Uploaded Python 3

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

Hashes for duty-1.9.0.tar.gz
Algorithm Hash digest
SHA256 83ea0531f470ec49f6acf53d28fd36cabfe000e823f1643e8b0f68b89e7de0dc
MD5 7817d2b015c9af88ac6edf299e06c4c8
BLAKE2b-256 c62c71621d8745704916b6c82676507e1846879f0e03efc49030b78f54d005e9

See more details on using hashes here.

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

Hashes for duty-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f538c4afc0f513fa7cb9979ab39ada05abcd62afe9c1df90768749f09f0bdbc1
MD5 1696529ed8b4fe8ce1120c6cb1c6cfc8
BLAKE2b-256 54da69c8dc76088584eae227d6ec3e682aabf972fbfe39bc037b6d6820c4529a

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