Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playgodot-0.5.1.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

playgodot-0.5.1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

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

Hashes for playgodot-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b26d9827a19a98903f01e6535f1484b7e3f091b41616ef3db3b321480ae88a15
MD5 962552d8c6743c7b70e21f9161631111
BLAKE2b-256 7dfcfda3be7f9aecd03cfbdbb2346f29cb868b23238700e6e3504194ac9f2a2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for playgodot-0.5.1.tar.gz:

Publisher: publish.yml on Randroids-Dojo/PlayGodot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for playgodot-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d229f2fb1c1c9eded3f7bce433a9761c5e7f7cae1a1c8a711a5629f44ea3a2e
MD5 2bb63a3a75c47e26fbcb370fa9abfd8b
BLAKE2b-256 dde8d1452033544512a71665303678ada0690da3c009668c45e402aad430544d

See more details on using hashes here.

Provenance

The following attestation bundles were made for playgodot-0.5.1-py3-none-any.whl:

Publisher: publish.yml on Randroids-Dojo/PlayGodot

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