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.837.tar.gz (76.3 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.837-py3-none-win_amd64.whl (16.0 MB view details)

Uploaded Python 3Windows x86-64

goudengine-0.0.837-py3-none-manylinux2014_x86_64.whl (26.1 MB view details)

Uploaded Python 3

goudengine-0.0.837-py3-none-macosx_14_0_arm64.whl (25.7 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.837-py3-none-macosx_13_0_x86_64.whl (8.0 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: goudengine-0.0.837.tar.gz
  • Upload date:
  • Size: 76.3 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.837.tar.gz
Algorithm Hash digest
SHA256 366df620cfa2476f928c5290740e1c5bf36a920405c18abc1b17cd3970a56376
MD5 9eccf4412a3c1a881b8961a80cbbda7b
BLAKE2b-256 dacdbdafa48292fe13fb598a5221489483197449ea6468448aad313fed77ef10

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: goudengine-0.0.837-py3-none-win_amd64.whl
  • Upload date:
  • Size: 16.0 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.837-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6b5cbbe655a8bfa6d96b2669f9a9b1064f69ae1f029afb41261d14cae6fd96cf
MD5 00b4706ae171189d946d850766456c5b
BLAKE2b-256 eada92a5842a630c651391d5794a72498206c00b5326caa53d3fb67db848ebe4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.837-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5347ed370cfcdbb29e0f891b06a8fbe3d67d3117547e8cc744bbe458d78894a
MD5 fec40cd14c001e684c59fb109ab9d6ce
BLAKE2b-256 3a32faa2d825f04a9799b968dfa042ffb66aca85e6ea9a92238af5e0e847992b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.837-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c6870548b0d1d6b2a71bdf6c8fb8f100cb46bb7f085fd46b4047c3f4f168971a
MD5 eaeb667bc696fc54c69d99249ff8ee01
BLAKE2b-256 54a20ab6efa5c29630f1c610fd3fe108749a395d204e5ef299ea32e4d5cd8446

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.837-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7b8ea1a93f828d6e8c12f55c5fcf408586fee005d8fd900991f5150a75f6211
MD5 ed31859dea6ae54eed2c5d1f85d1e607
BLAKE2b-256 a620e188dcb3586c2f9a12daa412216a8dced67d35b8457d81f093fa59ca75a3

See more details on using hashes here.

Provenance

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