InvergeDocs
PythonAPI reference

Module functions

Nexus — the official Python SDK for the Inverge Nexus platform.

import nexus

Nexus — the official Python SDK for the Inverge Nexus platform.

One SDK for every Nexus product: product analytics, structured logs, error monitoring, sessions, feature flags, Remote Config, realtime rooms, deep-link attribution, surveys, push notifications, in-app messages, Live Activities, session replay and Voice (CPaaS).

Framework-agnostic by design. Use it three ways:

1. A client object (explicit, testable — good for libraries and services):

from nexus import NexusClient

nexus = NexusClient("nxs_live_xxx")
nexus.events.track("order_placed", {"total": 42})

2. The module-level default (scripts, workers, management commands):

import nexus

nexus.init("nxs_live_xxx")          # or set NEXUS_API_KEY
nexus.track("report_generated", {"rows": 1200})
nexus.flush()

3. A framework integration (Django, Flask, FastAPI/Starlette, Celery, or any WSGI/ASGI app) — see nexus.integrations:

from nexus.integrations.flask import NexusFlask
NexusFlask(app)

For asyncio, nexus.aio.AsyncNexusClient mirrors the whole surface.

Docs: https://nexus.inverge.net