DecaneDocs
Get startedInstall
Get started

Install

bash
pip install decane

Or with uv or Poetry:

bash
uv add decane
poetry add decane

Python 3.10 or later. The two runtime dependencies are httpx for HTTP and PyJWT[crypto] for ES256 verification. The package ships a py.typed marker, so mypy and Pyright see full types. It is on pypi.org/project/decane.

Credentials

Verification needs no secret. The other features each need one credential from the Decane dashboard, read from the environment when you do not pass it:

CredentialEnv varNeeded for
Project idDECANE_APP_ID (pass it yourself)Checking a token belongs to your project
Verification keyDECANE_VERIFICATION_KEYOffline verification (optional)
API key dck_live_…DECANE_API_KEYServer-side sign-in
Project secret dck_sk_…DECANE_PROJECT_SECRETRecords by user id, wallet creation
!

The API key and project secret are secrets. Keep them in server environment variables; never ship them to a browser or a mobile app.