Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PlatynUI Inspector

platynui-inspector is a small desktop app for looking at the UI tree that PlatynUI sees. Use it to explore windows and controls, inspect attributes, test what is visible to the accessibility backend, and briefly highlight selected elements on screen.

[!WARNING] Preview package. The UI and behavior may still change.

Install

uv tool install --prerelease allow platynui-inspector

Inside an existing virtual environment:

uv pip install --pre platynui-inspector
# or
pip install --pre platynui-inspector

Windows and Linux are the active targets. macOS packages currently contain stub backend support.

Run

platynui-inspector

The left side shows the desktop UI tree. Selecting an element shows its attributes on the right and, when bounds are available, highlights it on screen for a moment.

Search result limit

The inspector limits XPath search collection to the first 5000 results by default so broad queries stay usable in an interactive UI. Override the limit with a command-line option:

platynui-inspector --search-result-limit 10000
platynui-inspector --search-result-limit unlimited

Or use the equivalent environment variable:

PLATYNUI_INSPECTOR_SEARCH_RESULT_LIMIT=10000
PLATYNUI_INSPECTOR_SEARCH_RESULT_LIMIT=unlimited

Command-line options take precedence over environment variables. Values 0, off, disabled, disable, none, and unlimited disable the guard.

Rendering options

The inspector ships with both wgpu and glow renderers. wgpu is the default; glow can be useful in virtual machines or older graphics stacks.

Command-line options take precedence over environment variables:

platynui-inspector --renderer glow --glow-hardware-acceleration off

Equivalent environment variables:

PLATYNUI_INSPECTOR_RENDERER=glow
PLATYNUI_INSPECTOR_GLOW_HARDWARE_ACCELERATION=off

Supported renderer values are wgpu and glow. Supported glow hardware acceleration values are required, preferred, and off.

The glow hardware acceleration setting applies to the glow renderer only. When glow is selected, off is treated as a best-effort request. Some Windows systems do not expose a software-only OpenGL configuration, so the inspector falls back to preferred instead of failing during window creation.

The wgpu renderer does not use the glow hardware acceleration setting. It can be influenced through the environment variables supported by wgpu itself:

WGPU_POWER_PREF=low      # low, high, or none
WGPU_BACKEND=dx12        # comma-separated: dx12, vulkan, gl, metal

WGPU_POWER_PREF changes adapter preference, such as low-power versus high-performance devices. WGPU_BACKEND limits which graphics backends wgpu may try. These settings do not force pure software rendering, but they are useful when diagnosing virtual machine or driver-specific rendering behavior.

On Windows, the inspector uses Vulkan or DX12 by default, with Vulkan preferred when available. OpenGL is not tried automatically because it can make startup noticeably slower on some systems. If you need to test OpenGL anyway, start the inspector with WGPU_BACKEND=gl.

Notes

  • On Linux/X11, make sure accessibility is enabled and AT-SPI is running.
  • On Windows, UIA is available by default, but elevated applications may require matching privileges.
  • If a highlighted element is missing or empty, the application may not expose usable bounds through the platform backend.

More information

The files in dev-docs/ are developer documentation for now and will be consolidated into user-facing docs (under docs/) later.

License

Apache-2.0. See the repository's LICENSE file.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

platynui_inspector-0.13.0.dev25-py3-none-win_arm64.whl (8.4 MB view details)

Uploaded Python 3Windows ARM64

platynui_inspector-0.13.0.dev25-py3-none-win_amd64.whl (8.9 MB view details)

Uploaded Python 3Windows x86-64

platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_x86_64.whl (13.7 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_aarch64.whl (14.0 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

platynui_inspector-0.13.0.dev25-py3-none-macosx_11_0_arm64.whl (8.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file platynui_inspector-0.13.0.dev25-py3-none-win_arm64.whl.

File metadata

  • Download URL: platynui_inspector-0.13.0.dev25-py3-none-win_arm64.whl
  • Upload date:
  • Size: 8.4 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for platynui_inspector-0.13.0.dev25-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d4a2c355292cf511c0dfdac51f60e23b5b7539f12cfc1a3cdc16c8a115ccb3e9
MD5 50e5c8fb6c7df7d4567bd2435e8909a7
BLAKE2b-256 d3d2465e933d541902f67e6391bf3595a859ef7bb415a3143e2fe55780e97acc

See more details on using hashes here.

File details

Details for the file platynui_inspector-0.13.0.dev25-py3-none-win_amd64.whl.

File metadata

  • Download URL: platynui_inspector-0.13.0.dev25-py3-none-win_amd64.whl
  • Upload date:
  • Size: 8.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for platynui_inspector-0.13.0.dev25-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e0aa4ce94e1dd50c1fe01db4f6c2fe9bc2e68807afedb323c0cbcfe099c45f9d
MD5 1cd4aaf1dcad70f48f75ce5de6979f85
BLAKE2b-256 8e24e9610a716b38c5b47f7daeccb096276a857b957755f9df6fa17fef59496f

See more details on using hashes here.

File details

Details for the file platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 13.7 MB
  • Tags: Python 3, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ec61eaeecc01c1538c57fc260ed8d5c64aa86b83190f5d18ffb8070bfe8333dc
MD5 18bc3fabee46205feb092f04e6a60b92
BLAKE2b-256 829828755179aa880400f72cecab2c78acd4211faf5cdd47f60dd4627d08427f

See more details on using hashes here.

File details

Details for the file platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 14.0 MB
  • Tags: Python 3, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for platynui_inspector-0.13.0.dev25-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 04ea5c856b8ec34c6d9057b2172e1ca21223624409a66fc51f3b6c5570ac495d
MD5 f7b3e6a59433493b44664c2c58bc14ff
BLAKE2b-256 9982fa85bfc9f4c28162872b9bce2958338a4124dd4c076012186c48eff8268c

See more details on using hashes here.

File details

Details for the file platynui_inspector-0.13.0.dev25-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: platynui_inspector-0.13.0.dev25-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for platynui_inspector-0.13.0.dev25-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d4c9ca39db9e872b136b7492c486b9cf69a8520db1c91dd64cfc0949973bf29
MD5 3ae7208d53746d47d39e7ba13a18bf50
BLAKE2b-256 3a6dc9c6fd3e3b0ff4720824704fef2535c4a369d9b14f79df02c924a4dafea7

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 Sentry Error logging StatusPage Status page