kedro-local-notify
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.
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!
Metadata
Release files for kedro-local-notify 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kedro-local-notify-0.1.1.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kedro_local_notify-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.5 kB
Release files / kedro-local-notify-0.1.1.tar.gz
| Download URL | kedro-local-notify-0.1.1.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27388ab46efe0e4998df866b32eb8065e1d2ece3e18452efea1a433f0dff4f6c
|
|
BLAKE2b-256 checksum How to use checksums |
b58caa0b84a395af8721344e7d6cb6b2a0d4b61673f46c4103898c2ac8368e43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.7.9 Darwin/19.6.0
|
Release files / kedro_local_notify-0.1.1-py3-none-any.whl
| Download URL | kedro_local_notify-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ef301dcf2122b705cf5e6c7a18b1650e5804ff3b03fd9fbc80a2881ca3fd08c
|
|
BLAKE2b-256 checksum How to use checksums |
2b7fa327e9d8b4755926e59b86b67e1d97a767210ed57e14c22616acacddac06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.7.9 Darwin/19.6.0
|