Skip to main content

Python SDK for GoudEngine. Build 2D and 3D games powered by a Rust core.

Project description

GoudEngine Python SDK

PyPI License: MIT

Alpha -- This SDK is under active development. APIs change frequently. Report issues

Thin Python wrapper over GoudEngine's FFI layer via ctypes.

Installation

pip install goudengine

Quick Start

from goud_engine import GoudGame, Key

game = GoudGame(800, 600, "My Game")
player_tex = game.load_texture("assets/player.png")

while not game.should_close():
    game.begin_frame()

    if game.is_key_just_pressed(Key.ESCAPE):
        game.close()

    game.draw_sprite(player_tex, 400, 300, 64, 64)
    game.end_frame()

game.destroy()

Documentation

See the Getting Started guide for installation, first project setup, sprites, input, and examples.

Testing

cargo build --release
python3 sdks/python/test_bindings.py

Coverage gate: 80%+ line coverage across sdks/python/goud_engine.

Platform Support

OS Architecture Status
Windows x64 Supported
macOS x64 / ARM64 Supported
Linux x64 Supported

Architecture

This SDK is a thin wrapper -- all engine logic lives in Rust. ctypes declarations live in generated/_ffi.py. Generated by codegen/gen_python.py from codegen/goud_sdk.schema.json.

Links

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

goudengine-0.0.833.tar.gz (72.6 kB view details)

Uploaded Source

Built Distributions

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

goudengine-0.0.833-py3-none-win_amd64.whl (13.6 MB view details)

Uploaded Python 3Windows x86-64

goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl (22.2 MB view details)

Uploaded Python 3

goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl (21.8 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl (6.8 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

File details

Details for the file goudengine-0.0.833.tar.gz.

File metadata

  • Download URL: goudengine-0.0.833.tar.gz
  • Upload date:
  • Size: 72.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for goudengine-0.0.833.tar.gz
Algorithm Hash digest
SHA256 30c771168029dcf47c845361a7685ea54842505d0ae049cd0959b6bb6a5c1773
MD5 a73adc133411ad1b3c1c62a11dfc7fc4
BLAKE2b-256 03c74abb4723a6ff3093652dad2ce483014975a233c44495f3d167f381466457

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.833.tar.gz:

Publisher: release.yml on aram-devdocs/GoudEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goudengine-0.0.833-py3-none-win_amd64.whl.

File metadata

  • Download URL: goudengine-0.0.833-py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for goudengine-0.0.833-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 04c5500ee3712da2e9dbee3e02d193913a216f9c96e84b87ea7c58fcc406d078
MD5 268132cfc6caab7a63c41526ef973f4a
BLAKE2b-256 78b4af2b05a34083cb2cfa917530b52a81d5c1db0a00b9cb4edd7099fb8d9ead

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.833-py3-none-win_amd64.whl:

Publisher: release.yml on aram-devdocs/GoudEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86de5637a5f4ce6d75046066b654aca958dbd142dc784f1ea938a318019fffa0
MD5 d917226c147c85670d229ef042531422
BLAKE2b-256 33c49fa364bc2f71ee8f219866270d57f1233d13679430b633665a2796e3fed4

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl:

Publisher: release.yml on aram-devdocs/GoudEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7ba82cacc4067a66ae8367f8d473998aebb047781aa473926057f2eede4c718c
MD5 855fda44b6057db8447c0ab6d8c69189
BLAKE2b-256 5f154c738524e71544aa9c530058b68c08d4c736946c3fd8df06b22d2fb43dad

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl:

Publisher: release.yml on aram-devdocs/GoudEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1299b6d12d506f6719336f6c32238f16a06a42a853d49d45c4a33cb648bb7571
MD5 0b6bad588f63082a86219c5cbff8a573
BLAKE2b-256 6fd1771bbc58d678af8a5e97f85598d44941c2ba9b836085e5157ae2f59e7dfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl:

Publisher: release.yml on aram-devdocs/GoudEngine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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