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 goudengine 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, project setup, and examples.

Testing

cargo build --release
python3 sdks/python/test_bindings.py

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.841.tar.gz (82.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.841-py3-none-win_amd64.whl (83.3 kB view details)

Uploaded Python 3Windows x86-64

goudengine-0.0.841-py3-none-manylinux2014_x86_64.whl (83.3 kB view details)

Uploaded Python 3

goudengine-0.0.841-py3-none-macosx_14_0_arm64.whl (83.3 kB view details)

Uploaded Python 3macOS 14.0+ ARM64

goudengine-0.0.841-py3-none-macosx_13_0_x86_64.whl (83.3 kB view details)

Uploaded Python 3macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: goudengine-0.0.841.tar.gz
  • Upload date:
  • Size: 82.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.841.tar.gz
Algorithm Hash digest
SHA256 7de339cdc140b841d77069acdab71d28e5a59f0b86e71f25a691498a711f083c
MD5 3aeb56446848f79acd5090e14f06fbce
BLAKE2b-256 03ffcde855ea6f0c539b4b3dea6a7ea44d5570a7e82afc728681c47adea9b01d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: goudengine-0.0.841-py3-none-win_amd64.whl
  • Upload date:
  • Size: 83.3 kB
  • 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.841-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9c8e72e99ff827955155229d4b24a09edfff122110692f0b14bef452a23ccad7
MD5 34caedd67d9e98e77328902c5d6ca304
BLAKE2b-256 f2806006c9cdb09f343dc111e9ac5476b6c9f36e54b3fcd50a91b9c26366234b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.841-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26359f05bbf8f48e233ae968838acb1d0652be99e221b022107518f92e826afc
MD5 8c927f7f27a11bf66bd8a2a62250cbd7
BLAKE2b-256 34b3626ef619db8758eef4aa4d0105aa0ae0299e5ad37ef0f998087d68ce3714

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.841-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b337d1012c9fd3c412613fb60553fc6411e0f8962652debcb766f578f2a5788d
MD5 fc5ea1acff3fbb97cbe3f5c933b9d371
BLAKE2b-256 d40308ff8bb1722f1e906972a5ba482fa93083ca002c6242e9d2ef7cf7716537

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goudengine-0.0.841-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cd8a902875defa905f023dc2ddfd1879d9b7557662bb4464f2039af2e415010a
MD5 59ac6b70f08a27b86c0900b5f02c2438
BLAKE2b-256 02cc66f73479805e410165b3cc5a6404f0005f4726a2b2f0be5ec2ff7e340e2c

See more details on using hashes here.

Provenance

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