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

License

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

Metadata

Release files for platynui-native 0.13.0.dev301

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for platynui-native 0.13.0.dev301
File
platynui_native-0.13.0.dev301-cp312-abi3-win_arm64.whl CPython 3.12 abi3 Windows ARM64 Details
platynui_native-0.13.0.dev301-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
platynui_native-0.13.0.dev301-cp312-abi3-manylinux_2_34_x86_64.whl CPython 3.12 abi3 Linux glibc 2.34+ x86-64 Details
platynui_native-0.13.0.dev301-cp312-abi3-manylinux_2_34_aarch64.whl CPython 3.12 abi3 Linux glibc 2.34+ ARM64 Details
platynui_native-0.13.0.dev301-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details

Total release size: 21.1 MB

Release files / platynui_native-0.13.0.dev301-cp312-abi3-win_arm64.whl

Download URL platynui_native-0.13.0.dev301-cp312-abi3-win_arm64.whl
Size 3.2 MB
Tags CPython 3.12 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
767178277f90a0448d6dca8f49153e96fc9285efb20d518b5d5ae61e2b47986b
BLAKE2b-256 checksum
How to use checksums
7444448b7929a2bb59a29a8173e46f87cb3387294b7bd9105f93911c7a1f9ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / platynui_native-0.13.0.dev301-cp312-abi3-win_amd64.whl

Download URL platynui_native-0.13.0.dev301-cp312-abi3-win_amd64.whl
Size 3.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
41faf0f67c6fe3a6898cb637f5e90bdb00b6f520e034396c8f8965a5f627e54c
BLAKE2b-256 checksum
How to use checksums
9f9b6435b123efc8534be892e27ed4a1a4cab8cfa010596a13a1364e27ddf2c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / platynui_native-0.13.0.dev301-cp312-abi3-manylinux_2_34_x86_64.whl

Download URL platynui_native-0.13.0.dev301-cp312-abi3-manylinux_2_34_x86_64.whl
Size 5.8 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
11b4964de4fcd55f858c044b274692eef57bdd8471f5b5d4b76a4f71b7b2aea5
BLAKE2b-256 checksum
How to use checksums
c4874c8e40e59686ef64292ab87c4ff333ff83117f27903553c847072d09152c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / platynui_native-0.13.0.dev301-cp312-abi3-manylinux_2_34_aarch64.whl

Download URL platynui_native-0.13.0.dev301-cp312-abi3-manylinux_2_34_aarch64.whl
Size 5.9 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
8200f8eca8c254ff3e6f3ba155c55c7c261024fb761196f80d6c06e807bccab6
BLAKE2b-256 checksum
How to use checksums
bd04219a910fa1aa346145f64fec5cd5074be43280791f0bccfacc4dd2c95129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / platynui_native-0.13.0.dev301-cp312-abi3-macosx_11_0_arm64.whl

Download URL platynui_native-0.13.0.dev301-cp312-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1806b2b7413fe744e143ea5fc3cbad035d5c709bdd44543c99b37dfcf353419e
BLAKE2b-256 checksum
How to use checksums
71fc36e0bdbcc933f8e4ff6c411bda5e21e96dd25b137ddb2af61210e645a111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page