Skip to main content

A Windows GUI inspection companion tool for baihe-autogui

Project description

baihe-autogui-inspect

baihe-autogui-inspect is a Windows GUI inspection companion for baihe-autogui. It helps you inspect desktop controls, browse UI trees, view element properties, and locate targets before writing automation scripts.

This project is based on the earlier pyside6-inspect work originally developed by Dmitry Vodopyanov and Alexander Smirnov. It is now packaged as a Baihe ecosystem tool and depends on baihe-autogui.

Features

  • Browse the UI tree of running Windows applications
  • Switch between uia, win32, and atspi backends
  • Inspect properties of the selected element
  • Pick an element directly from the desktop
  • Highlight the selected or hovered element on screen
  • Show timing information for inspection operations
  • Write logs to both the console and a rotating log file

Requirements

  • Windows
  • Python >=3.8
  • uv or pip

Installation

For local development:

uv sync

Or:

pip install -e .

Run

baihe-inspect

Or:

python -m baihe_autogui_inspect

Logging

By default, the app writes baihe_autogui_inspect.log in the current working directory.

Optional environment variables:

  • BAIHE_AUTOGUI_INSPECT_LOG_LEVEL
  • BAIHE_AUTOGUI_INSPECT_LOG_FILE

Example:

$env:BAIHE_AUTOGUI_INSPECT_LOG_LEVEL = "INFO"
$env:BAIHE_AUTOGUI_INSPECT_LOG_FILE = "logs\\inspect.log"
baihe-inspect

Development

Run tests:

python -m pytest -q

Run lint and type checks:

python -m ruff check src tests
python -m mypy src tests

Changelog

Release notes are tracked in CHANGELOG.md.

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

baihe_autogui_inspect-0.1.2.tar.gz (95.3 kB view details)

Uploaded Source

Built Distribution

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

baihe_autogui_inspect-0.1.2-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file baihe_autogui_inspect-0.1.2.tar.gz.

File metadata

  • Download URL: baihe_autogui_inspect-0.1.2.tar.gz
  • Upload date:
  • Size: 95.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for baihe_autogui_inspect-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1d8b570bbcdec520c37c8a99d6a7e260292b3f23c8aac3a78d2de67b0d21691e
MD5 663d13430b019b1c4c9b49d6b7ec1543
BLAKE2b-256 b3abb4a58782016ba64953474b5758b4d302947d38f4a0814e3dda365ecfdc42

See more details on using hashes here.

Provenance

The following attestation bundles were made for baihe_autogui_inspect-0.1.2.tar.gz:

Publisher: release.yml on jiangbaihe/baihe-autogui-inspect

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

File details

Details for the file baihe_autogui_inspect-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for baihe_autogui_inspect-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d88eceb6a03c861c58673b784c2f9d4886a2698efeebb7fc83c78ad61121a649
MD5 c7312d4db08b299121e557922b8c4697
BLAKE2b-256 8b804be1a29d4d0281c9709fad797b59c491eca6b82798ca0f697e7f5968cc83

See more details on using hashes here.

Provenance

The following attestation bundles were made for baihe_autogui_inspect-0.1.2-py3-none-any.whl:

Publisher: release.yml on jiangbaihe/baihe-autogui-inspect

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