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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file kedro-local-notify-0.1.1.tar.gz.

File metadata

  • Download URL: kedro-local-notify-0.1.1.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Darwin/19.6.0

File hashes

Hashes for kedro-local-notify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 27388ab46efe0e4998df866b32eb8065e1d2ece3e18452efea1a433f0dff4f6c
MD5 77b775ccd9d2660ca3b3b1113ec24fb9
BLAKE2b-256 b58caa0b84a395af8721344e7d6cb6b2a0d4b61673f46c4103898c2ac8368e43

See more details on using hashes here.

File details

Details for the file kedro_local_notify-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kedro_local_notify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ef301dcf2122b705cf5e6c7a18b1650e5804ff3b03fd9fbc80a2881ca3fd08c
MD5 80d4e8720a853546f4f853b1677fff12
BLAKE2b-256 2b7fa327e9d8b4755926e59b86b67e1d97a767210ed57e14c22616acacddac06

See more details on using hashes here.

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