Skip to main content

notifications

Notify you that your code finished running.

Slack

Steps to setup slack notifications:

  1. Create a slack app and get the webhook URL (https://api.slack.com/messaging/webhooks)
  2. Obtain the webhook URL such as https://hooks.slack.com/services/XXXX/XXXXX/XXXXXX, then run python -m noti.auth and paste the URL when prompted.
  3. 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)

Source distribution for noti2 1.0.5
File Size Uploaded
noti2-1.0.5.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for noti2 1.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page