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.835.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.835-py3-none-win_amd64.whl (15.4 MB view details)

Uploaded Python 3Windows x86-64

goudengine-0.0.835-py3-none-manylinux2014_x86_64.whl (24.9 MB view details)

Uploaded Python 3

goudengine-0.0.835-py3-none-macosx_14_0_arm64.whl (24.5 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.835-py3-none-macosx_13_0_x86_64.whl (7.7 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: goudengine-0.0.835.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.835.tar.gz
Algorithm Hash digest
SHA256 48187230d3eb725599592c280f8e3a89a910ad15a032449201bd0e914c27662d
MD5 e62919aee955c6a5996c0b52c59f94d3
BLAKE2b-256 3a0c2d21f2c4bcfd27d310099bea94c560aa446105c08b74b65939888a2f9779

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.835.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.835-py3-none-win_amd64.whl.

File metadata

  • Download URL: goudengine-0.0.835-py3-none-win_amd64.whl
  • Upload date:
  • Size: 15.4 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.835-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7b985a30812605576d99d96d3a03589404efb6bf5cac159ceb4cf386732770f0
MD5 19065c3417a3031141efdc4ed4f7354d
BLAKE2b-256 4d10c43ae22829ec2495e864e8477b4da7260bf4faf1a435df67c3c5b74480ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.835-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.835-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for goudengine-0.0.835-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 201d2e06f9016130c63793a21ed450df0ea44952b1b92752b6f70056fc6e87a7
MD5 c67d16bcda154e4f6c7165370322ee23
BLAKE2b-256 a98b7c2e9aa74283ec70db1cf0a37f3489c145de7219ad1ba0acdf77d8f31f00

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.835-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.835-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for goudengine-0.0.835-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ce318fd04beecbd869159d32182e1362aa1ba6fb37c384b64b9675bf972c5b29
MD5 8b1fa6b3b539d69df132ad80c90a9715
BLAKE2b-256 8d2cbe157f40d5832b1caa7d856eb7c04df0ff32e7f68291639c93ae67f5bb2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.835-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.835-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for goudengine-0.0.835-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fc658edd0a3371bb8b450e705bca273ec503cec486f3921c135dcdf95c35eb88
MD5 a70b1f66cb8542a09fe4714318cff35c
BLAKE2b-256 81ad046bb739820604da0f16321d01f3f0b8430b3cfe588327933a4297145ddd

See more details on using hashes here.

Provenance

The following attestation bundles were made for goudengine-0.0.835-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