Notify you that your code finished running
Project description
notifications
Notify you that your code finished running.
Slack
Steps to setup slack notifications:
- Create a slack app and get the webhook URL (https://api.slack.com/messaging/webhooks)
- Obtain the webhook URL such as
https://hooks.slack.com/services/XXXX/XXXXX/XXXXXX
, then runpython -m noti.auth
and paste the URL when prompted. - After that, you can either use:
import noti
with noti.slack.watch("do some work..."):
...
to be notified when the code block finishes, or use:
import noti
noti.slack("done!")
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
noti2-1.0.4.tar.gz
(4.2 kB
view details)
Built Distribution
noti2-1.0.4-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file noti2-1.0.4.tar.gz
.
File metadata
- Download URL: noti2-1.0.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d20c3562fc1bdaca73b94f9ca9abb948c35b6d526ef728e0a8887b953f4d1ee5 |
|
MD5 | 5ede24ac036082353b1c6ab16ecfa713 |
|
BLAKE2b-256 | 0913f12c6e04e1a48653fd00180f0d5e9ee8ff757aa2fe414bbe85e1afc987d4 |
File details
Details for the file noti2-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: noti2-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31b0b39d4ac52dcb8af8862001ab33d0655b065f68ee8cfceb02b6719d82cab |
|
MD5 | 9b8d935beb57330248dc474780bfc1e2 |
|
BLAKE2b-256 | 438d857302e6448b1b4cd0f11b32d27c25f4aa2e657bee05668d285cb71d1258 |