Skip to main content

A Python package to alert users about exceptions.

Project description

Alert On Exception

Alert On Exception is a Python library designed to send email notifications when exceptions occur in your applications. It is particularly useful for monitoring applications in production, ensuring you are immediately alerted to any issues that arise.

Features

  • Simple setup for sending email notifications.
  • Customizable subject and message content.

Installation

Install using below pip command

pip install alert-on-exception

To use ExceptionNotifier, you need to configure it with your SMTP details and the recipient's information. Here's a quick example:

from alert_on_exception import alert

# Create an instance of ExceptionNotifier
notifier = alert.AlertOnException("receiver@example.com", "Application Error", "An error has occurred!")

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_on_exception-0.1.7.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

alert_on_exception-0.1.7-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file alert_on_exception-0.1.7.tar.gz.

File metadata

  • Download URL: alert_on_exception-0.1.7.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for alert_on_exception-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b9aa54d17dab761fe86e20edb85dedfc3af053eca0771ef72a7b9fb50af1f12a
MD5 12eb1456e284d1232004b09264bc2e23
BLAKE2b-256 aa87dd27a579f858f70740ef8d68d89647ec018a72d0424e21931b97d679b2c3

See more details on using hashes here.

File details

Details for the file alert_on_exception-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for alert_on_exception-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 529a4b2874afe4216fdf4a0dbf4be0464a622edd7cd2a64e2c62055d9eb892d5
MD5 a0067a036014b60130ba54b081603351
BLAKE2b-256 f92f986aa74d23c1dc32ed18ee2b6d17ebd2aa6aba7f2e181f760b27c3313003

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