Skip to main content

A simple task runner.

Project description


ci documentation pypi version gitpod gitter

A simple task runner.

Inspired by Invoke.



With pip:

pip install duty

With pipx:

python3.8 -m pip install --user pipx
pipx install duty

Quick start

Create a file at the root of your repository.

from duty import duty

def docs(ctx):"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...".

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.1.0.tar.gz (48.8 kB view hashes)

Uploaded source

Built Distribution

duty-1.1.0-py3-none-any.whl (51.4 kB view hashes)

Uploaded py3

Supported by

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