Skip to main content

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/*

Metadata

Release files for qubiz-game-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qubiz-game-sdk 0.1.0
File Size Uploaded
qubiz_game_sdk-0.1.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qubiz-game-sdk 0.1.0
File Interpreter ABI Platform
qubiz_game_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / qubiz_game_sdk-0.1.0.tar.gz

Download URL qubiz_game_sdk-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fc9d934cb200708447e16ea6468d1572ee02a793ddfc913c20b888d2bce0853f
BLAKE2b-256 checksum
How to use checksums
c9845c745c9e1e78f352f66d956acd135534ad78125804b29cf8f6f46e738de8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / qubiz_game_sdk-0.1.0-py3-none-any.whl

Download URL qubiz_game_sdk-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2de8ad6964418fd3a16fcef10a40f97d06e454edc56148cc1eb1b1c5d86abd8
BLAKE2b-256 checksum
How to use checksums
20c68f27625653f5914ce5333b2d6142c440e86cffe988edc2dc507c187799c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page