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.5.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

noti2-1.0.5-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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