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.3.tar.gz
(4.2 kB
view details)
Built Distribution
noti2-1.0.3-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file noti2-1.0.3.tar.gz
.
File metadata
- Download URL: noti2-1.0.3.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 | e771b751a2831acfe6ca03b23160c9e83d89300b73df35d8bf60d4707d62a574 |
|
MD5 | f5de0723b9fc086728ef5a50ecf1cf39 |
|
BLAKE2b-256 | f0a97547bd6030add89f9432c291bc6dc81c0fa7dacd81941d4c1ccd840886a9 |
File details
Details for the file noti2-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: noti2-1.0.3-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 | 3361e7dd9d3cf1e7b5a9af135ed481beef280d2b6ad6feb7b83757c05b97075e |
|
MD5 | 6125d2e36b9d09b267a2f4ca249275e6 |
|
BLAKE2b-256 | 5c6ef577e6f4e6de9e36a3fe6d98cb3e5dcdde814fcd513e35cb36a6f4a06109 |