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