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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

platynui_native-0.13.0.dev1-cp312-abi3-manylinux_2_34_x86_64.whl (5.4 MB view details)

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

platynui_native-0.13.0.dev1-cp312-abi3-manylinux_2_34_aarch64.whl (5.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.34+ ARM64

platynui_native-0.13.0.dev1-cp312-abi3-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev1-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.27 {"installer":{"name":"uv","version":"0.11.27","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.dev1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 af13e8303162ea42d8e5178091b67d19cc8731d22108cf565787575a903f59ea
MD5 973a8880e03d2b71fe811dc23717a28f
BLAKE2b-256 977065b9c6bc765b4879ab2d0cf890deb71442c5f6786c17fd0c64cb67e663e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev1-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.27 {"installer":{"name":"uv","version":"0.11.27","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.dev1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3434b6b51583d45435f17ad2f9f77009b1ab72f4f2767440142a0f5442f98c7d
MD5 29cb44f3b1e54de234a4250267b5af40
BLAKE2b-256 20606b0a8767cc6e204d8b75541615e62a1d4d01dccc1ed5b49746af3eb99d25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev1-cp312-abi3-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: CPython 3.12+, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","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.dev1-cp312-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9396e6abef95fcaaa8a76b2a1bf57d78b37d40cf8bd57d500afb48ccbd6edac2
MD5 a8680a7f0dd76286f39c5c974cdf3607
BLAKE2b-256 04725b15dbff3f027ecadbdb9c4192884f6326634f466bbe8390d58a9cbe2b68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev1-cp312-abi3-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.12+, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","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.dev1-cp312-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 9da7b7901858cf8f46d16e486e59926f10e8df22f635326736ed249e3b09a6e2
MD5 610936f36d6f78dd20ec8fee6f15102a
BLAKE2b-256 0df60c01ca5203beb5e1aa3043e326d1f26a419a2b3680b957a30e5540e15c36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev1-cp312-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.12+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","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.dev1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6523cf53cce16b97db46c41b2ed8932c2cef0c095fceca799b6f4d513efb6f8
MD5 eda1cde4406ebb3d0bdc5b8944e4e61a
BLAKE2b-256 22131dc60939b0be4cbde93a8c93f7b88bac0d3366a483d107d0a43e68785dbd

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