Skip to content

Installation

Terminal window
pip install auralog
from auralog import init, auralog
init(api_key="aura_your_api_key", environment="production")
auralog.info("hello from auralog")

The SDK batches log sends every 5 seconds (configurable) and automatically flushes pending logs on interpreter exit via atexit. For deterministic flush (short-lived scripts, serverless handlers):

from auralog import shutdown
shutdown()
  • Python: 3.10 or later
  • Dependency: httpx>=0.27 (installed automatically)
  • Frameworks: works standalone and with Django, Flask, FastAPI, Celery, etc. See Error capture for async/framework notes.

Open source at github.com/auralog-ai/auralog-python (MIT).