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.2.tar.gz
(4.2 kB
view details)
Built Distribution
noti2-1.0.2-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file noti2-1.0.2.tar.gz
.
File metadata
- Download URL: noti2-1.0.2.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 | c469bba616592964fe3fecd3c3e2e3d36a57763651c6f2826f2ae39aaa6cc195 |
|
MD5 | ee39fa530879a92454fbd3a522ed87c2 |
|
BLAKE2b-256 | 8c5954e8d29480fb96afd39316df59eebb870f013b20421778ff591028a8f3ee |
File details
Details for the file noti2-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: noti2-1.0.2-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 | 4bdb4cd5fd4a709095ab3b16213c4a16465497b6c62824faa710b83aa97642d5 |
|
MD5 | 73deb1908559d847269b61687671142b |
|
BLAKE2b-256 | c98b2eca76abb87d51440198f832d55e23fbae16ec3b34a7fd21e8504db2843f |