Skip to main content

sikuli-go gRPC client wrapper and generated stubs for Python

Project description

sikuli-go (Python)

This directory contains the Python client for sikuli-go with Sikuli-style Screen + Pattern APIs.

Canonical Documentation

Long-form Python docs now live in the published guide:

Quickstart

init:py-examples prompts for the target directory, creates requirements.txt, installs into .venv, and copies examples. Each example bootstraps sikuli-go into ./.sikuli-go/bin and prepends it to PATH for the process. The published package name is sikuli-go; the import module remains sikuligo.

pipx run sikuli-go init:py-examples
cd sikuli-go-demo
python3 examples/click.py

runs:

from __future__ import annotations
from sikuligo import Pattern, Screen

screen = Screen()
try:
    match = screen.click(Pattern("assets/pattern.png").exact())
    print(f"clicked match target at ({match.target_x}, {match.target_y})")
finally:
    screen.close()

Install Into An Existing Environment

If you manage your own environment instead of using the scaffold:

python -m pip install sikuli-go

Package name vs import name:

  • install: sikuli-go
  • import: sikuligo

Runtime Helpers

Install the runtime binaries on PATH:

pipx run sikuli-go install-binary

Start the runtime and dashboard:

pipx run sikuli-go -listen

Open:

Run the standalone monitor after installing the binaries:

sikuli-go-monitor

By default it serves the monitor UI on :8080 and reads sikuli-go.db from the current working directory.

Dashboard Preview

The local runtime exposes both the dashboard and the standalone monitor workflow described in the guide:

Dashboard Screenshot

Monitor Screenshot

Common Package Entry Points

  • Screen() or Screen.start() uses auto mode
  • Screen.connect() attaches to an existing runtime
  • Screen.spawn() forces a new runtime process
  • screen.region(x, y, w, h) scopes the search area

For the full runtime model, environment inputs, and troubleshooting notes, use the Python guide pages above.

FindOnScreen Benchmark Test Results

Generated: 2026-03-07T23:32:15.506029+00:00

Reports

Engine Summary

Cases/OK metrics are query-level counts (regions x scenarios x resolutions), not just benchmark row count.

Engine Cases OK Partial Not Found Unsupported Error Overlap Miss Avg ms/op Median ms/op
akaze 120 39 0 78 0 0 3 172.121 147.695
brisk 120 47 0 63 0 0 10 388.483 123.118
hybrid 120 69 0 45 0 0 6 171.017 134.411
kaze 120 63 0 50 0 0 7 824.898 640.512
orb 120 13 0 96 0 0 11 56.443 44.794
sift 120 56 0 55 0 0 9 256.756 198.264
template 120 64 0 56 0 0 0 154.257 114.466

Run Mega Summary

Run Mega Summary

Benchmark Graphs

Performance Graph

Accuracy Graph

Scenario Kind Graphs

Scenario Kind Match Time

Scenario Kind Success

Resolution Group Graphs

Resolution Match Time

Resolution Matches

Resolution Misses

Resolution False Positives

Artifact Directories

Scenario Summary Images (10)

hybrid_gate_conflicts_1920x1080_i09

hybrid_gate_conflicts_1920x1080_i09

multi_monitor_dpi_shift_1920x1080_i10

multi_monitor_dpi_shift_1920x1080_i10

noise_stress_random_1920x1080_i04

noise_stress_random_1920x1080_i04

orb_feature_rich_1920x1080_i07

orb_feature_rich_1920x1080_i07

perspective_skew_sweep_1920x1080_i06

perspective_skew_sweep_1920x1080_i06

photo_clutter_1920x1080_i02

photo_clutter_1920x1080_i02

repetitive_grid_camouflage_1920x1080_i03

repetitive_grid_camouflage_1920x1080_i03

scale_rotate_sweep_1920x1080_i05

scale_rotate_sweep_1920x1080_i05

template_control_exact_1920x1080_i08

template_control_exact_1920x1080_i08

vector_ui_baseline_1920x1080_i01

vector_ui_baseline_1920x1080_i01

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

sikuli_go-0.1.74.tar.gz (426.1 kB view details)

Uploaded Source

Built Distribution

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

sikuli_go-0.1.74-py3-none-any.whl (424.9 kB view details)

Uploaded Python 3

File details

Details for the file sikuli_go-0.1.74.tar.gz.

File metadata

  • Download URL: sikuli_go-0.1.74.tar.gz
  • Upload date:
  • Size: 426.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sikuli_go-0.1.74.tar.gz
Algorithm Hash digest
SHA256 3c9a015faab449999ffd02f7c27b16f70e9df771bd7aaba78ceb00a4fdd0fcd3
MD5 e60beb7dba64eef5180e673642550d7b
BLAKE2b-256 689cd2e351dfb14ce23db927203c766c6741383c496323b0b1fde4537a49f1e2

See more details on using hashes here.

File details

Details for the file sikuli_go-0.1.74-py3-none-any.whl.

File metadata

  • Download URL: sikuli_go-0.1.74-py3-none-any.whl
  • Upload date:
  • Size: 424.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sikuli_go-0.1.74-py3-none-any.whl
Algorithm Hash digest
SHA256 c763cfd8238d64b87efe473360fecfd4e8a09f3c880d3e20d4e203080407801b
MD5 db2d00958af96b9d13dcfdcf4e2777bb
BLAKE2b-256 2df9983523babe657c63ca42b1957bcbbd36af9f050ff4287327ad71613da4c4

See more details on using hashes here.

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