Problem Statement
Data scientists code up a lot of pipelines that can often take a long time due to long pre-processing sequences or massive amounts of time required. And if errors occur, then the pipeline needs to be re-run. This means we usually want to be notified as early as possible if errors occurred.
So what is pipelinenotifier?
Pipeline notifier will send messages to your Slack/Discord/Keybase channel once you set up a webhook. Support can be added for more channels if desired. Feel free to ping me at jacky.wong@vctr.ai. It will send error messages so you can tell what is wrong the moment it happens.
Installation
Simply run:
python3 -m pip install pipeline-notifier
Data Science Bots
As data scientists, you are running a lot of code over a large amount of time. This often means that that you want to be notified about things via mobile while you have applications running in the background.
I ended up re-writing this code across a number of organisations.
from pipelinenotifier import KeyBaseNotifier
# Record your name and the project being worked on to properly track information
with KeyBaseBot("Bill Gates", "Modelling", "<webhook_url>") as bot:
# Insert training loop/reader here.
score = 0.5
bot.send_message(f"Scored {score}.")
If there is an error, it will send the error message to your channel.
Metadata
Release files for pipeline-notifier 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pipeline-notifier-0.0.2.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pipeline_notifier-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / pipeline-notifier-0.0.2.tar.gz
| Download URL | pipeline-notifier-0.0.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3620dd6bad8fff7ea787de31d4bfe1118b680b87d82ddd289648d33b1ead5ecb
|
|
BLAKE2b-256 checksum How to use checksums |
cc07cb549a9fae7690a74e9ce9f980e5c2071baec41312c7c18c4749b7b5103c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
|
Release files / pipeline_notifier-0.0.2-py3-none-any.whl
| Download URL | pipeline_notifier-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38633fde566f6c3c051ade162b99b7c1bfff162a0173848b18e56341c6dd3dce
|
|
BLAKE2b-256 checksum How to use checksums |
4753b94fd5ba8d7d941ffd27c38c3f88a51778941f6acdacf4fbe4bc86a0723d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
|
Security for pipeline-notifier 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.