Skip to main content

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

For Windows 7 compatibility, Python 3.8 environments are pinned to PySide6==6.1.3, which is the last PySide6 line this project treats as Win7-safe. Python 3.9 and newer resolve to a newer compatible PySide6 automatically.

Installation

Recommended for end users:

pip install "baihe-autogui[inspect]"

Or install the inspect tool directly:

pip install baihe-autogui-inspect

baihe-autogui[extra] remains available as a compatibility alias for the same extension set.

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.

Metadata

Release files for baihe-autogui-inspect 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for baihe-autogui-inspect 0.1.4
File Size Uploaded Provenance
baihe_autogui_inspect-0.1.4.tar.gz 96.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for baihe-autogui-inspect 0.1.4
File Interpreter ABI Platform
baihe_autogui_inspect-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 126.2 kB

Release files / baihe_autogui_inspect-0.1.4.tar.gz

Download URL baihe_autogui_inspect-0.1.4.tar.gz
Size 96.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b1fe616bf23e3e590bbda6be09e5b6cc550ec94e0c2e6e116713a2756396287
BLAKE2b-256 checksum
How to use checksums
2ba9a0d0c9a0eceedcbc6531432cfdf73a2200a21f5468157b30272952e50f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Release files / baihe_autogui_inspect-0.1.4-py3-none-any.whl

Download URL baihe_autogui_inspect-0.1.4-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03231c552e89f94bff715db6b47e13e0a1ce91e09960d647cc01a587203d44d6
BLAKE2b-256 checksum
How to use checksums
220881300e44130fb5294fcb9f0e2ccd163dfc3e16bfd73aeb5a488645dc0a04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Security for baihe-autogui-inspect 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for baihe_autogui_inspect-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page