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

Uploaded CPython 3.12+Windows ARM64

platynui_native-0.13.0.dev117-cp312-abi3-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.12+Windows x86-64

platynui_native-0.13.0.dev117-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.dev117-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.dev117-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.dev117-cp312-abi3-win_arm64.whl.

File metadata

  • Download URL: platynui_native-0.13.0.dev117-cp312-abi3-win_arm64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.12+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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.dev117-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f0198ab79996b12081e24cd3a994e9f27b91bf6c5ee22b15947b61254c2d50ee
MD5 98f45b16fcc49201f6828f3a46eb7416
BLAKE2b-256 bdf267cbf999e050f005efc0cd3f665f9101a2e0c3d4fb2d4d49b393ec55b4c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev117-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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.dev117-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 07eba3b7c49348f09665e43236414acc6b63e6d64b9a1394082fcefdafbb5ae3
MD5 f6a92731129b25cc67b4324e520cd1b0
BLAKE2b-256 343b4e9b9ebed3200979ed21768ec8f32da1ad5be5f4302bce5ef798ea731acb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev117-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.32 {"installer":{"name":"uv","version":"0.11.32","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.dev117-cp312-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c5760125621cfc699df6bf96cf9f5ad0819d45ce567338945d37a846aa9097ad
MD5 7692371aea8cfbd7a71b9c16c59f3e9d
BLAKE2b-256 db23d4dbf206d42cdb82a2425afa5abe8a8107a2ee235b59b41ecb0cd44ce698

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev117-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.32 {"installer":{"name":"uv","version":"0.11.32","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.dev117-cp312-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 3a52e77947ad5673d498ecbe296e3ee26995a986278c693055f847a802bab66e
MD5 bf3b61c0fe62549da288784e0e17482f
BLAKE2b-256 dbca816e14d56ce227bcfe17d848d119c4727992cf7bda29e7ee206fb221ef85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: platynui_native-0.13.0.dev117-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.32 {"installer":{"name":"uv","version":"0.11.32","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.dev117-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 84626ab4149cd007572a3ed1596aec9928ceeb330455088484809d33629d4677
MD5 ab1441f6ab7335d58824d08fd40ec591
BLAKE2b-256 2b3c22d0ef4c9da4dad64df27cf8ed9f7435f8c215ad8ea743e2b2ab6e501507

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