Get started
Verify and sign in Decane users from Python.
decane is the server-side SDK for Decane Connect Kit, for Python backends. It verifies Decane access tokens, resolves wallet addresses, signs users in from the server, reads and writes per-user records, and creates users and their wallets before they ever sign in. It is the Python port of decane-node: the same endpoints, the same error codes, the same checks.
- Requires
- Python 3.10+
- Package
decane1.1.0, MIT, typed- Dependencies
httpxandPyJWT[crypto]- Clients
- Sync and asyncio
Wiring up a coding agent? kit.decane.app/llms-python.txt is a self-contained spec for this package with real signatures, and llms-version.json tracks its freshness under the python key.
Quick startVerify a Decane access token in a few lines.FastAPI, Flask and DjangoDrop-in auth for the framework you already use.Server-side sign-inEmail and phone codes, Google, KingsChat and custom tokens.Per-user recordsPreferences the user owns and metadata only you can write.Server-side walletsCreate a user and their wallet before they sign in.API referenceEvery method on DecaneClient and AsyncDecaneClient.