Skip to main content

A kedro plugin that interacts with your local notifications

Project description

kedro-local-notify-logo

kedro-local-notify

github-action code-style license

How do I get started?

$ pip install --upgrade kedro-local-notify

Then what?

Nothing! Kedro will automagically pick up the hook and ping you a notification after the pipeline finished running succesfully or fails.

What is kedro-local-notify?

Ever kicked off a long-running pipeline and come back to check in an hour later, only to find that it failed 2 minutes in?

Or come back to see your pipeline finished running an hour ago and you have nothing to justify your reddit browsing anymore?

kedro-local-notify will ping you a notification indicating that your pipeline ran sucessfully or failed.

kedro-local-notify-demo

Won't this spam me?

By default, notifications will only trigger if the pipeline has been running for more than 1 minute. You can change this thresholf for notifying you by setting the KEDRO_LOCAL_NOTIFY_THRESHOLD environment variable to be the number of seconds of pipeline run time before a notification is trigerred. The default is:

$ export KEDRO_LOCAL_NOTIFY=60

note that this environment variable needs to be set in the same shell that you're trigerring the Kedro pipeline run in.

Caveats

You probably shouldn't add this to your requirements. It's a silly little tool meant to be used for some quality of life improvements on your local machine.

This is currently limited to Mac OS X 10.10 or higher. Windows support is in the works!

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

kedro-local-notify-0.1.1.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

kedro_local_notify-0.1.1-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

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