External automation and testing framework for Godot Engine games
Project description
PlayGodot Python Client
Python client library for PlayGodot - external automation and testing framework for Godot Engine games.
Installation
pip install playgodot
For screenshot comparison support:
pip install playgodot[image]
Quick Start
import asyncio
from playgodot import Godot
async def test_game():
async with Godot.launch("path/to/project") as game:
# Wait for game to be ready
await game.wait_for_node("/root/Main")
# Interact with the game
await game.click("/root/Main/UI/StartButton")
await game.wait_for_signal("game_started")
# Take a screenshot
await game.screenshot("game_started.png")
asyncio.run(test_game())
Documentation
See the main README for full documentation.
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Type checking
mypy playgodot
# Linting
ruff check playgodot
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 Distribution
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 playgodot-0.5.1.tar.gz.
File metadata
- Download URL: playgodot-0.5.1.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b26d9827a19a98903f01e6535f1484b7e3f091b41616ef3db3b321480ae88a15
|
|
| MD5 |
962552d8c6743c7b70e21f9161631111
|
|
| BLAKE2b-256 |
7dfcfda3be7f9aecd03cfbdbb2346f29cb868b23238700e6e3504194ac9f2a2b
|
Provenance
The following attestation bundles were made for playgodot-0.5.1.tar.gz:
Publisher:
publish.yml on Randroids-Dojo/PlayGodot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
playgodot-0.5.1.tar.gz -
Subject digest:
b26d9827a19a98903f01e6535f1484b7e3f091b41616ef3db3b321480ae88a15 - Sigstore transparency entry: 851225380
- Sigstore integration time:
-
Permalink:
Randroids-Dojo/PlayGodot@9da2fd0f6acff083994eb7f053eaad0312061e0c -
Branch / Tag:
refs/tags/0.5.1 - Owner: https://github.com/Randroids-Dojo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9da2fd0f6acff083994eb7f053eaad0312061e0c -
Trigger Event:
release
-
Statement type:
File details
Details for the file playgodot-0.5.1-py3-none-any.whl.
File metadata
- Download URL: playgodot-0.5.1-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d229f2fb1c1c9eded3f7bce433a9761c5e7f7cae1a1c8a711a5629f44ea3a2e
|
|
| MD5 |
2bb63a3a75c47e26fbcb370fa9abfd8b
|
|
| BLAKE2b-256 |
dde8d1452033544512a71665303678ada0690da3c009668c45e402aad430544d
|
Provenance
The following attestation bundles were made for playgodot-0.5.1-py3-none-any.whl:
Publisher:
publish.yml on Randroids-Dojo/PlayGodot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
playgodot-0.5.1-py3-none-any.whl -
Subject digest:
2d229f2fb1c1c9eded3f7bce433a9761c5e7f7cae1a1c8a711a5629f44ea3a2e - Sigstore transparency entry: 851225404
- Sigstore integration time:
-
Permalink:
Randroids-Dojo/PlayGodot@9da2fd0f6acff083994eb7f053eaad0312061e0c -
Branch / Tag:
refs/tags/0.5.1 - Owner: https://github.com/Randroids-Dojo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9da2fd0f6acff083994eb7f053eaad0312061e0c -
Trigger Event:
release
-
Statement type: