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.0.tar.gz (27.8 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.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file playgodot-0.5.0.tar.gz.

File metadata

  • Download URL: playgodot-0.5.0.tar.gz
  • Upload date:
  • Size: 27.8 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.0.tar.gz
Algorithm Hash digest
SHA256 aa4259b23b8604e98008eb0c1fcbca7ffe2281410f1fce06bf9ff58d9913aaf1
MD5 3c591d81cd6623f81473be39fd93443e
BLAKE2b-256 35f4fdf88dae248679ae53fb2b254d07cadcf0fbde954b232f61f732565ac166

See more details on using hashes here.

Provenance

The following attestation bundles were made for playgodot-0.5.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: playgodot-0.5.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65c6a13835a4d334a78e65a2740a6b3035bb6d69c0e5bb800041aadb6adf02e8
MD5 c207470c97e7a514373b87278eef9152
BLAKE2b-256 f309751c3c6d9592e6a25a1ed311a8650dcea150ab8a61a86073a776d83840cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for playgodot-0.5.0-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