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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.836-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.836.tar.gz.

File metadata

  • Download URL: goudengine-0.0.836.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.836.tar.gz
Algorithm Hash digest
SHA256 31d1a036de94c29f372e32e1efdcf6e6e3caabbc402cb498375e6cc3ebce0603
MD5 0fdad4014ecb785aa2331b3a6366b994
BLAKE2b-256 829ba4cdc221aeed39055c2ae24db2d7d9d6b4777bbee497faf579253a92480b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: goudengine-0.0.836-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.836-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2bc05576e01447d3c5d96cce942b626a47591b9258a4c4491a98de778f293d1a
MD5 3499bb7f1ce05db13868bc3e55a5bfb4
BLAKE2b-256 09543f451761bbb987118ef9a00cf616de1bed3fada714859835fab06959050a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.836-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ea37b1f7f64bce04d837e6964a3a26a829dc6ce8e062bfa93c297265f1de105
MD5 21f1eb854c382917caf7d9265e05d010
BLAKE2b-256 53acbbdf8d5509c1dce1ac0c27616c95820dc3ddb3b7ab5cbdc9b72ebeac9f06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.836-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 454d822805119bc6c5dd542026e79bdae936b53302986560c3536bc804f81c8a
MD5 9a256d6d5fdc19b201cac84a80ee9b19
BLAKE2b-256 97960d76d41fcb08783e49ea45beda02aff58dab5be6a5e11e7c63bcf7b757ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.836-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9dd175a0931a120133e9fcdc084cbb20baf41ba4b55b797b7ae0f6aced46f1ec
MD5 7e7a2d60f419ec68c7e6f2dbbb6b6f38
BLAKE2b-256 37e5653dcac4eb61235b984415532f228fff66315356794d255fd1add4df874f

See more details on using hashes here.

Provenance

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