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.6.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.6-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alert_on_exception-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 412cc0ab717b232bf4af9b16db547514bc86cbdbe0743a8b29cba14fa04ee010
MD5 1f07c9f08c0de8110823f9fff0b51418
BLAKE2b-256 63c2306e06b8933e8c375661826fad08465f947be923bffd21a01276176cc19f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alert_on_exception-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 23099d82f77d6b6c1dfaaf2cfce025a6b0c60e3c919455b50a6be90ff6ea30ce
MD5 c78ac221bd478fbe2064bf61cbe12a93
BLAKE2b-256 aaf8556d2c9ce63b657154b87c31caf1886be6e9ec855cdf6f02a24642bad3db

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