Skip to main content

Python SDK

The Python wheel is not on PyPI yet. From a clone of this repo: pip install -e packages/python. Prefer import invince. import doccraft_ai still works (historical path).

import invince

invince.init(
    ingest_key="YOUR_INGEST_KEY",
    endpoint="https://invince.dev/api/ingest/errors",
    environment="production",
)

try:
    run()
except Exception as err:
    invince.capture_exception(err)

There is no extra backend. Requests send X-Ingest-Key to /api/ingest/errors, /api/ingest/performance, and /api/ingest/agent-traces.

We use only the cookies necessary to keep you signed in. No analytics or advertising cookies are set. Cookie list