Skip to main content

Creator/admin tooling helpers for Qubiz game manifests.

Project description

qubiz-game-sdk

Python helpers for validating Qubiz creator manifests before upload or release.

from qubiz_game_sdk import GameManifest, SDKEvent, validate_event, validate_manifest

manifest = GameManifest(
    slug="my-game",
    title="My Game",
    description="A small HTML5 arcade game.",
    requested_scopes=["profile:username", "analytics:events"],
    tags=["arcade"],
)
validate_manifest(manifest)

event = SDKEvent(name="level_reached", stage="world-1", source="tutorial", value=3)
validate_event(event)

SDKEvent mirrors the browser SDK telemetry sink. Names are capped at 64 characters, stage/source at 80, metadata at 12 keys, and string metadata values at 120 characters.

Publishing checklist:

python -m build
python -m twine check dist/*
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qubiz_game_sdk-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qubiz_game_sdk-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file qubiz_game_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: qubiz_game_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for qubiz_game_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc9d934cb200708447e16ea6468d1572ee02a793ddfc913c20b888d2bce0853f
MD5 f3316dc461a2931f1b2a2293b3e3536a
BLAKE2b-256 c9845c745c9e1e78f352f66d956acd135534ad78125804b29cf8f6f46e738de8

See more details on using hashes here.

File details

Details for the file qubiz_game_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qubiz_game_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for qubiz_game_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2de8ad6964418fd3a16fcef10a40f97d06e454edc56148cc1eb1b1c5d86abd8
MD5 911d2c23268bf675c74534c9ee5fe669
BLAKE2b-256 20c68f27625653f5914ce5333b2d6142c440e86cffe988edc2dc507c187799c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page