Skip to main content

Simple python notification helper.

Project description

Simple Python Notification Helper

Supported Apps

Slack

  • After obtaining a webhook URL from Slack, set it as the SLACK_WEBHOOK_URL environment variable.

Usage

  • Context manager
from alert_helper import alert

with alert("test-job"):
    # do something
  • Decorator
from alert_helper import alert

@alert("test-job")
def dummy():
    # do something

dummy()

To Do

  • Support other apps.

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

alert_helper-0.1.4.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alert_helper-0.1.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file alert_helper-0.1.4.tar.gz.

File metadata

  • Download URL: alert_helper-0.1.4.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for alert_helper-0.1.4.tar.gz
Algorithm Hash digest
SHA256 eadd8d772656fbd0e65736088cf5426f2e03d405870cb3776cc94a1e4fc45c70
MD5 51199eeabc3d0a5efd2ecc5ab5a6b449
BLAKE2b-256 c21c5c4dc5330fe6d1cfbbde93a57ff23499345045afba0497e59ff70b822d0a

See more details on using hashes here.

File details

Details for the file alert_helper-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: alert_helper-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for alert_helper-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1b6590798097ca7c54cf3bc6331d9cee23a98ff8875b27c5804e4d941a269374
MD5 9b3a68724a4e62c228d15402ced2cdd4
BLAKE2b-256 7bec86eba41d72c82b5844d40d689bf10dc5be36b8b504368baa79f1ba2f61dc

See more details on using hashes here.

Supported by

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