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.authand 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!")
Metadata
Release files for noti2 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| noti2-1.0.5.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| noti2-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / noti2-1.0.5.tar.gz
| Download URL | noti2-1.0.5.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fbce78a9fc5315144af57fe5c57c4a810fb4799d7a7abc14f4b517d8d1ac4d7
|
|
BLAKE2b-256 checksum How to use checksums |
27d24203e0bbff852825d47271bc45be01bbcc44524b0aca6159cfc0768d65e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0
|
Release files / noti2-1.0.5-py3-none-any.whl
| Download URL | noti2-1.0.5-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e92477cbd0a563fb56345191e923f665f9435c72857ff051b5e4c42339f4968d
|
|
BLAKE2b-256 checksum How to use checksums |
322f7deddf8506a77034556f1acdc87b4f6e5cb210bf14696f0655392ad85e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0
|