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.838.tar.gz (79.0 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.838-py3-none-win_amd64.whl (16.2 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

goudengine-0.0.838-py3-none-macosx_14_0_arm64.whl (25.9 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.838-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.838.tar.gz.

File metadata

  • Download URL: goudengine-0.0.838.tar.gz
  • Upload date:
  • Size: 79.0 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.838.tar.gz
Algorithm Hash digest
SHA256 89f42611a4877d9f89bceb328af6aed9a0b50c8ff4a90f3c1a48245ac9d4a9f1
MD5 d1f283e4661cf73363b0d57bad142a2f
BLAKE2b-256 6b39dd1f770fdace5d3b7886b7bb7d2087fd098b86b376760a656a7b73e685a9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: goudengine-0.0.838-py3-none-win_amd64.whl
  • Upload date:
  • Size: 16.2 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.838-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bafa02ffe45561dedf3ad5a7fb6ec5605706c61867ad6979d6dcf0e7aabc3232
MD5 57f13573061c14704c1d5f67eca79b17
BLAKE2b-256 dbc4f760fab8ff0764ffa4fc9e44eec47be9424ae0589a5cbbe19e2c44a2aabc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.838-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5431d48978d967f9ccc2c9a45aa0ccab83326a3649fed5b1ff28eedb93b2dafc
MD5 e8090e6f0b5dc3591da417b88e4ee8db
BLAKE2b-256 ca5bd52e3eef4e0ea62f318c40c27e50fc9450e3739d960c306ac9b74671164e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.838-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6fcbb66d85b611fb259fc5f8cfbb55c31602354294ccb1c8bc6346522d7fdb27
MD5 9b4a08310b8c725d8b0d9944fbc12079
BLAKE2b-256 8373b68aa9ffaa0cf0d06d8bf9fbd60bd3aef4ca850166b783c130080ec9a00e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.838-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c36e84ced8821015c80dec27319d6ca21beb9b1fba050cc72554d20b418472e
MD5 1c54cb4b6e2f93fc1d1a192168ee5f98
BLAKE2b-256 db47820b12413b91852fafa60375f0abb98d585e7d381ec5032c38550ba89d35

See more details on using hashes here.

Provenance

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