Skip to main content
Pre-release

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

platynui-native

platynui-native exposes the PlatynUI runtime to Python. It is mainly used by the Robot Framework libraries in this repository, but it is also useful for smoke tests, experiments, and custom Python wrappers.

Most users should start with the root README, the CLI, or PlatynUI.BareMetal. Use this package directly when you need Python access to runtime queries, nodes, pointer/keyboard actions, screenshots, or mock providers.

Local development

uv sync --dev --all-packages --all-groups --all-extras
uv run maturin develop -m packages/native/Cargo.toml --uv --features mock-provider

The mock-provider feature is useful for tests because it exposes mock UI trees and mock platform devices without relying on the real desktop.

Tiny smoke test

from platynui_native import Runtime

runtime = Runtime.new_with_mock()
nodes = runtime.evaluate("//control:Window", None)
print(len(nodes))

Run package tests with:

uv run pytest -q packages/native/tests

Notes

  • Build with --features mock-provider before using Runtime.new_with_mock().
  • Platform operations such as pointer, keyboard, screenshots, and highlights depend on the selected backend.
  • The public Robot Framework API is expected to live above this package; this package is the lower-level bridge.

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_native-0.13.0.dev2-cp312-abi3-win_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12+Windows ARM64

platynui_native-0.13.0.dev2-cp312-abi3-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.12+Windows x86-64

platynui_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.34+ x86-64

platynui_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_aarch64.whl (5.6 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.34+ ARM64

platynui_native-0.13.0.dev2-cp312-abi3-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

Details for the file platynui_native-0.13.0.dev2-cp312-abi3-win_arm64.whl.

File metadata

  • Download URL: platynui_native-0.13.0.dev2-cp312-abi3-win_arm64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.12+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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_native-0.13.0.dev2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f245b13d3140f7b8d62b6e5552a87bb9f723687ddd83e5a84e7d864ad658df99
MD5 c4831595fcb791f12c61d57fa48cf4e7
BLAKE2b-256 531fdc8481fcc61a7fcb3a3e442df63bec7fb7a0b779c43e1885b26bc9554808

See more details on using hashes here.

File details

Details for the file platynui_native-0.13.0.dev2-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: platynui_native-0.13.0.dev2-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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_native-0.13.0.dev2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 011a8015e69d579146ab6e67ee8817a9b1c61782dd41050819368fef0d812009
MD5 3380978d25adf60e1fd6808cc300d8a3
BLAKE2b-256 625866923090cb4bfcef97a87ac34b65fa94c53d83e74527a196318ea535e388

See more details on using hashes here.

File details

Details for the file platynui_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: platynui_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.12+, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b2aec96491f7c032d8826f321dae25fafdbd9870622f9cd7f998fc49a3626d87
MD5 5c2a39b8f1d151ed488c8c740e027a45
BLAKE2b-256 2dd49af08b0e7bc784d965b5929df110ba49c8a924952551f331b9fc34678b87

See more details on using hashes here.

File details

Details for the file platynui_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: platynui_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: CPython 3.12+, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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_native-0.13.0.dev2-cp312-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 abf0e34338ca5f12f6c09c5ffc20c09f3e90f56ab4c635a0f37b88bd48b2fbcb
MD5 d99e13dd55a9a53c2723022145786e95
BLAKE2b-256 ee18afaebda8657ecb183839db80432607b160bc1619b222cfc1b95a71884fe9

See more details on using hashes here.

File details

Details for the file platynui_native-0.13.0.dev2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: platynui_native-0.13.0.dev2-cp312-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.12+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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_native-0.13.0.dev2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8031d1ff3143f9e0ce5d4c67e86744f98623f16458df3ec34b7ff6defa772084
MD5 2318b281062c4480fee17eab9cde634a
BLAKE2b-256 cb789b72490d3b507b2e3503a80a34cd5a4fede39a518cb2b523193ee3f5c5ce

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