tusk makes it easy to:
- run python scripts and notebooks
- get notifications on failure
- log important statistics
To run a python script that sends a slack message on error:
tusk myscript.py --slack
We also build on the excellent papermill library, so similary to run a python notebook:
tusk my-notebook.ipynb --slack
tusk aims to bridge the gap between unmonitored or loosely monitored cron jobs and more robust solutions such as airflow or prefect. We wanted to make a tool that works out of the box without much configuration or setup.
pip install tusk-runner
To have errors or successful runs send notifications to slack, you must first set up a slack webhook and then set the TUSK_SLACK_URL
environmental variable.