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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.834-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.834.tar.gz.

File metadata

  • Download URL: goudengine-0.0.834.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.834.tar.gz
Algorithm Hash digest
SHA256 2a7982982fc85c9b84fb97fad9e39b5748585eb566caa5accb31d82509e189c2
MD5 cf4f2bc7c86c29a57117c4c3c597e9c0
BLAKE2b-256 f54d9e0483feadc292c9bb247d176fd36843a1e7827ffebc93b9ed9dc4f5461b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: goudengine-0.0.834-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.834-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd251cd468fc2265c6f2bb3d8c31ca62988525e06cf649c251a4a8cb8f25277b
MD5 0b5b78213cadc351e7bc678cc62f4c66
BLAKE2b-256 13e872b5c3586bc4d260a03e508b32d4f254d741f04dd2fa6c3ddbc818a5fe80

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.834-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3eb6a11ac180e836f1a19f5e5cde219b1c5549fb429663cb0f0e5eaa92570458
MD5 c40420172ab893a79f378c63d2ac7680
BLAKE2b-256 8a4ffa35106d99b21c7ca8d54c0e9e1c34767180a75b098e7b743e275e0aabb7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.834-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4ce5f5be0285f9bf16b176e307928851ce28ede2ee7d831924652245467d2e89
MD5 85935c129e4737d502cfa8c4687cc494
BLAKE2b-256 93b7e093e4b7f1942d8f4b047cedd8efbdbccee65e29a19d576156daf654855b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.834-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ed326da4dd6baa23d10c5f4e468b75e3bad637e8c582642dfb9b5ca0cd460ed
MD5 8962ff64b79a55becb4a1fc3178a9b8d
BLAKE2b-256 649956ec091c208e38494c1b5adc7f4ae09eb5dff94fd9bf54a7b3c05ac11e10

See more details on using hashes here.

Provenance

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