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, andatspibackends - 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
uvorpip
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_LEVELBAIHE_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d8b570bbcdec520c37c8a99d6a7e260292b3f23c8aac3a78d2de67b0d21691e
|
|
| MD5 |
663d13430b019b1c4c9b49d6b7ec1543
|
|
| BLAKE2b-256 |
b3abb4a58782016ba64953474b5758b4d302947d38f4a0814e3dda365ecfdc42
|
Provenance
The following attestation bundles were made for baihe_autogui_inspect-0.1.2.tar.gz:
Publisher:
release.yml on jiangbaihe/baihe-autogui-inspect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
baihe_autogui_inspect-0.1.2.tar.gz -
Subject digest:
1d8b570bbcdec520c37c8a99d6a7e260292b3f23c8aac3a78d2de67b0d21691e - Sigstore transparency entry: 1191445128
- Sigstore integration time:
-
Permalink:
jiangbaihe/baihe-autogui-inspect@50d6200f2547e84f50fcc8eea8a176c3a398faee -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/jiangbaihe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@50d6200f2547e84f50fcc8eea8a176c3a398faee -
Trigger Event:
push
-
Statement type:
File details
Details for the file baihe_autogui_inspect-0.1.2-py3-none-any.whl.
File metadata
- Download URL: baihe_autogui_inspect-0.1.2-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d88eceb6a03c861c58673b784c2f9d4886a2698efeebb7fc83c78ad61121a649
|
|
| MD5 |
c7312d4db08b299121e557922b8c4697
|
|
| BLAKE2b-256 |
8b804be1a29d4d0281c9709fad797b59c491eca6b82798ca0f697e7f5968cc83
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
baihe_autogui_inspect-0.1.2-py3-none-any.whl -
Subject digest:
d88eceb6a03c861c58673b784c2f9d4886a2698efeebb7fc83c78ad61121a649 - Sigstore transparency entry: 1191445131
- Sigstore integration time:
-
Permalink:
jiangbaihe/baihe-autogui-inspect@50d6200f2547e84f50fcc8eea8a176c3a398faee -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/jiangbaihe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@50d6200f2547e84f50fcc8eea8a176c3a398faee -
Trigger Event:
push
-
Statement type: