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.5.tar.gz
(4.3 kB
view details)
Built Distribution
noti2-1.0.5-py3-none-any.whl
(5.8 kB
view details)
File details
Details for the file noti2-1.0.5.tar.gz
.
File metadata
- Download URL: noti2-1.0.5.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fbce78a9fc5315144af57fe5c57c4a810fb4799d7a7abc14f4b517d8d1ac4d7 |
|
MD5 | df15dbe85284c89a62c77efe0b555051 |
|
BLAKE2b-256 | 27d24203e0bbff852825d47271bc45be01bbcc44524b0aca6159cfc0768d65e3 |
File details
Details for the file noti2-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: noti2-1.0.5-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92477cbd0a563fb56345191e923f665f9435c72857ff051b5e4c42339f4968d |
|
MD5 | 0b19ed9ce72b7c105d1fae14ce6f61b5 |
|
BLAKE2b-256 | 322f7deddf8506a77034556f1acdc87b4f6e5cb210bf14696f0655392ad85e06 |