Skip to main content

Python SDK

Install Python SDK, configure secure runtime settings, and validate telemetry plus CI release gates.

5 min readSDK Integration

Get the SDK

Use the public package and reference implementation from the devkit repository.

Install and Initialize

Install package, initialize client, and emit a smoke event.

pip install argus-sdk

from argus import Argus
sdk = Argus(api_key="ak_live_YOUR_KEY", project_id="my-game")
sdk.init()
sdk.event("startup_ready", {"service": "api"})

Configuration and CI

Use environment variables for secrets and gate deployments via CLI runs.

ARGUS_API_KEY=ak_live_prod_...
ARGUS_PROJECT_ID=my-game
ARGUS_BASE_URL=https://api.argus.ludotronics.io

argus push build.zip --project my-game
argus run --project my-game --persona explorer,destructor --budget 8

Common Pitfalls

Validate environment and endpoint alignment first when data is missing.

  • - Virtual environment package mismatch
  • - Incorrect API scope
  • - No network egress to backend endpoint
  • - Process exits before telemetry flush

Related Docs