Set up
pip install pagerless
export PAGERLESS_KEY=pl_live_...Any script or app
import pagerless.autoReport things yourself
pagerless.init()
pagerless.capture(route="POST /checkout")
pagerless.event("Refunds paused", "tell")
pagerless.deploy("2026.10.22-2")AWS Lambda
@pagerless.aws_lambda.handler
def handle(event, context): ...logging
logging.getLogger().addHandler(pagerless.logging.PagerlessHandler())Scheduled jobs
@pagerless.monitor("nightly-backup", pagerless.Schedule(cron="30 3 * * *"))
def backup(): ...
with pagerless.monitor("sync-prices", 3600):
sync()What it catches
- Uncaught exceptions in the main thread, other threads and unraisable ones (
import pagerless.auto). - Request rate, errors and latency per route with the Django, Flask or ASGI integrations.
- Celery task failures and missed beat runs (Celery).
- Lambda handler exceptions, flushed before return.
- ERROR log records, as the exception when there is one, else grouped by call site.
Python 3.9 or newer, standard library only. npx pagerless connect doesn't edit Python code yet; add these lines by hand.
Questions
Which frameworks?
Django, Flask, FastAPI and Starlette (any ASGI app), any WSGI app, Celery, AWS Lambda and the logging module.
Does it add dependencies?
No. It is standard library only, Python 3.9 or newer.