Skip to content

Installation

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

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 auralogs 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/auralogs-ai/auralogs-python (MIT).