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.1.tar.gz
(2.7 kB
view details)
Built Distribution
noti2-1.0.1-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file noti2-1.0.1.tar.gz
.
File metadata
- Download URL: noti2-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0320b705e0a89ef369c85ed9008db106a7aa73d95e6592ceb310e302006aa2b |
|
MD5 | bdc43daa6ce49bae8a24f5ef9f62886f |
|
BLAKE2b-256 | dfe3c0e703fdf913714c94b391665e8503a34a80783f3b954d25824cd600f2c4 |
File details
Details for the file noti2-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: noti2-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 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 | 83e437db73f5218051c0815454aad292e60e95d15eaeae739044adf9ffe2ff28 |
|
MD5 | 638cb57ab02a91e6c96d14a1568f395d |
|
BLAKE2b-256 | e2a72c23d805d50bd4311e9e1f668e557247ba1b643147252f87e2b413e30c10 |