Skip to main content

Notify you that your code finished running

Project description

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!")

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.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

noti2-1.0.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file noti2-1.0.4.tar.gz.

File metadata

  • Download URL: noti2-1.0.4.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

Hashes for noti2-1.0.4.tar.gz
Algorithm Hash digest
SHA256 d20c3562fc1bdaca73b94f9ca9abb948c35b6d526ef728e0a8887b953f4d1ee5
MD5 5ede24ac036082353b1c6ab16ecfa713
BLAKE2b-256 0913f12c6e04e1a48653fd00180f0d5e9ee8ff757aa2fe414bbe85e1afc987d4

See more details on using hashes here.

File details

Details for the file noti2-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: noti2-1.0.4-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

Hashes for noti2-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e31b0b39d4ac52dcb8af8862001ab33d0655b065f68ee8cfceb02b6719d82cab
MD5 9b8d935beb57330248dc474780bfc1e2
BLAKE2b-256 438d857302e6448b1b4cd0f11b32d27c25f4aa2e657bee05668d285cb71d1258

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page