Python SDK for GoudEngine. Build 2D and 3D games powered by a Rust core.
Project description
GoudEngine Python SDK
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goudengine-0.0.833.tar.gz.
File metadata
- Download URL: goudengine-0.0.833.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30c771168029dcf47c845361a7685ea54842505d0ae049cd0959b6bb6a5c1773
|
|
| MD5 |
a73adc133411ad1b3c1c62a11dfc7fc4
|
|
| BLAKE2b-256 |
03c74abb4723a6ff3093652dad2ce483014975a233c44495f3d167f381466457
|
Provenance
The following attestation bundles were made for goudengine-0.0.833.tar.gz:
Publisher:
release.yml on aram-devdocs/GoudEngine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goudengine-0.0.833.tar.gz -
Subject digest:
30c771168029dcf47c845361a7685ea54842505d0ae049cd0959b6bb6a5c1773 - Sigstore transparency entry: 1156226864
- Sigstore integration time:
-
Permalink:
aram-devdocs/GoudEngine@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aram-devdocs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file goudengine-0.0.833-py3-none-win_amd64.whl.
File metadata
- Download URL: goudengine-0.0.833-py3-none-win_amd64.whl
- Upload date:
- Size: 13.6 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04c5500ee3712da2e9dbee3e02d193913a216f9c96e84b87ea7c58fcc406d078
|
|
| MD5 |
268132cfc6caab7a63c41526ef973f4a
|
|
| BLAKE2b-256 |
78b4af2b05a34083cb2cfa917530b52a81d5c1db0a00b9cb4edd7099fb8d9ead
|
Provenance
The following attestation bundles were made for goudengine-0.0.833-py3-none-win_amd64.whl:
Publisher:
release.yml on aram-devdocs/GoudEngine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goudengine-0.0.833-py3-none-win_amd64.whl -
Subject digest:
04c5500ee3712da2e9dbee3e02d193913a216f9c96e84b87ea7c58fcc406d078 - Sigstore transparency entry: 1156226877
- Sigstore integration time:
-
Permalink:
aram-devdocs/GoudEngine@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aram-devdocs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 22.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86de5637a5f4ce6d75046066b654aca958dbd142dc784f1ea938a318019fffa0
|
|
| MD5 |
d917226c147c85670d229ef042531422
|
|
| BLAKE2b-256 |
33c49fa364bc2f71ee8f219866270d57f1233d13679430b633665a2796e3fed4
|
Provenance
The following attestation bundles were made for goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl:
Publisher:
release.yml on aram-devdocs/GoudEngine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goudengine-0.0.833-py3-none-manylinux2014_x86_64.whl -
Subject digest:
86de5637a5f4ce6d75046066b654aca958dbd142dc784f1ea938a318019fffa0 - Sigstore transparency entry: 1156226889
- Sigstore integration time:
-
Permalink:
aram-devdocs/GoudEngine@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aram-devdocs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl.
File metadata
- Download URL: goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 21.8 MB
- Tags: Python 3, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ba82cacc4067a66ae8367f8d473998aebb047781aa473926057f2eede4c718c
|
|
| MD5 |
855fda44b6057db8447c0ab6d8c69189
|
|
| BLAKE2b-256 |
5f154c738524e71544aa9c530058b68c08d4c736946c3fd8df06b22d2fb43dad
|
Provenance
The following attestation bundles were made for goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl:
Publisher:
release.yml on aram-devdocs/GoudEngine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goudengine-0.0.833-py3-none-macosx_14_0_arm64.whl -
Subject digest:
7ba82cacc4067a66ae8367f8d473998aebb047781aa473926057f2eede4c718c - Sigstore transparency entry: 1156226871
- Sigstore integration time:
-
Permalink:
aram-devdocs/GoudEngine@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aram-devdocs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl.
File metadata
- Download URL: goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl
- Upload date:
- Size: 6.8 MB
- Tags: Python 3, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1299b6d12d506f6719336f6c32238f16a06a42a853d49d45c4a33cb648bb7571
|
|
| MD5 |
0b6bad588f63082a86219c5cbff8a573
|
|
| BLAKE2b-256 |
6fd1771bbc58d678af8a5e97f85598d44941c2ba9b836085e5157ae2f59e7dfc
|
Provenance
The following attestation bundles were made for goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl:
Publisher:
release.yml on aram-devdocs/GoudEngine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goudengine-0.0.833-py3-none-macosx_13_0_x86_64.whl -
Subject digest:
1299b6d12d506f6719336f6c32238f16a06a42a853d49d45c4a33cb648bb7571 - Sigstore transparency entry: 1156226884
- Sigstore integration time:
-
Permalink:
aram-devdocs/GoudEngine@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aram-devdocs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d38613425f877c0c8bf186bc66eea4d71b0912e5 -
Trigger Event:
workflow_dispatch
-
Statement type: