Simple python notification helper.
Project description
Simple Python Notification Helper
Supported Apps
Slack
- After obtaining a webhook URL from Slack, set it as the
SLACK_WEBHOOK_URLenvironment variable.
Usage
- Context manager
from alert-helper import alert
with alert("test-job"):
# do something
- Decorator
from alert-helper import alert
@alert("test-job")
def dummy():
# do something
dummy()
To Do
- Support other apps.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alert_helper-0.1.3.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alert_helper-0.1.3.tar.gz.
File metadata
- Download URL: alert_helper-0.1.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b5a52dbcf71670b734c77c1a130b4a58830f9a2231d85e41f8fe6aa95b2c55
|
|
| MD5 |
106afd44e62040117417d5ac68c93114
|
|
| BLAKE2b-256 |
f120a2cf3e42dddec3aceb195d1a8955d170ccf1c0920d44d18956b61c76e8ff
|
File details
Details for the file alert_helper-0.1.3-py3-none-any.whl.
File metadata
- Download URL: alert_helper-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
990c1f8b7e4836c707730404bcc6df1465eb80b9cfe8ebbd2eb4aee0d7e58a32
|
|
| MD5 |
fc5a64d238f80b1d3738fdb72f325fe8
|
|
| BLAKE2b-256 |
4b65b9f895cb56ec6182379b8df879db8241c4efcce463741183e03dbfc15f5a
|