Browse Docs

Python Alerts SDK

The API Alerts Python SDK sends alerts from your Python code through API Alerts. Drop it into Django, Flask, FastAPI, Celery workers, or any Python service that needs to notify you when something important happens. Minimal setup, fire-and-forget by default with optional response handling, and zero infrastructure.

Installation

pip install apialerts-python

Usage

from apialerts import ApiAlerts

client = ApiAlerts('YOUR-API-KEY')

# Simple notification
client.send(message='Deployment successful')

# With all options
client.send(
    message='New user signed up',
    channel='developers',
    link='https://dashboard.example.com/users/123',
    tags=['signup', 'organic'],
)

Resources