Installation
Install
Section titled “Install”pip install auralogInitialize
Section titled “Initialize”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 shutdownshutdown()Requirements
Section titled “Requirements”- 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.
Source
Section titled “Source”Open source at github.com/auralog-ai/auralog-python (MIT).