This is the official Python SDK for Task Badger.
For full documentation go to https://docs.taskbadger.net/python/.
pip install taskbadgerTo use the taskbadger command-line tool, install the cli extra:
pip install 'taskbadger[cli]'import taskbadger
from taskbadger.systems import CelerySystemIntegration
taskbadger.init(
token="***",
systems=[CelerySystemIntegration()],
tags={"environment": "production"}
)$ export TASKBADGER_API_KEY=***
$ taskbadger run "nightly-backup" -- ./backup.sh