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.839.tar.gz (79.2 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.839-py3-none-win_amd64.whl (16.3 MB view details)

Uploaded Python 3Windows x86-64

goudengine-0.0.839-py3-none-manylinux2014_x86_64.whl (26.4 MB view details)

Uploaded Python 3

goudengine-0.0.839-py3-none-macosx_14_0_arm64.whl (26.0 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.839-py3-none-macosx_13_0_x86_64.whl (8.2 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: goudengine-0.0.839.tar.gz
  • Upload date:
  • Size: 79.2 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.839.tar.gz
Algorithm Hash digest
SHA256 35cd5cc121f6d947ce309e68603a4cf2a2e5737378645bd347fb9550bbd0e926
MD5 30dcf0e2bc0da4737675f86c53375a4f
BLAKE2b-256 c7571bc9c0c9ec8ddb92f6237bab02c3dfba607faeeb202333a7764c5f1b50df

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: goudengine-0.0.839-py3-none-win_amd64.whl
  • Upload date:
  • Size: 16.3 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.839-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5aa0409fefc1269f77cd2301ddf403340e62d5977598be111a6ff1e6ec7b5cd8
MD5 cabe6b1d8057a5809a761278a460dfcd
BLAKE2b-256 0feabcb2fc2f6cd0a0f2695c5858e10101a3e676b12901c90c95328d1c66945e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.839-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06e1d6fc1ccd7b7d99d7ac72788da6966ebae5d37bbda99d24eec0baeaffa36d
MD5 c47e1d26f28b9b731f54ae03969ee9fc
BLAKE2b-256 b993a2569a635c4f9970aba88a4f4ca47af2e2e0b4ae19e95a1d1ff5180c187c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.839-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1368e047a742ed68aecf100ebc2e9d81c18feb3114074531d2a5d5eb3a566a49
MD5 59a2f2994cbcc670aee420ce4e0bac15
BLAKE2b-256 9192355e992b2d47a21e4917622fdab9752cb036d19e143805e4da64f649e6bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.839-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 75ea1df14a6e70a475d00b3610e81bb1e0307812e834be3d4375cd9d70ad5f31
MD5 53a9fc1bb7e083318952ec02ccae5f68
BLAKE2b-256 2cabd3162e9966ac3579518e7630c2eef3f27465b840f2c1fd6825f4021aa63b

See more details on using hashes here.

Provenance

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