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

  • ../../docs/ - current working notes for Python bindings, Robot Framework library design, and platform behavior.
  • ../../README.md - project overview.

The files in docs/ are working documentation for now and will be replaced or consolidated into proper user documentation later.

License

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

Metadata

Release files for platynui-native 0.12.0.dev330

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.12.0.dev330
File
platynui_native-0.12.0.dev330-cp312-abi3-win_arm64.whl CPython 3.12 abi3 Windows ARM64 Details
platynui_native-0.12.0.dev330-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
platynui_native-0.12.0.dev330-cp312-abi3-manylinux_2_34_x86_64.whl CPython 3.12 abi3 Linux glibc 2.34+ x86-64 Details
platynui_native-0.12.0.dev330-cp312-abi3-manylinux_2_34_aarch64.whl CPython 3.12 abi3 Linux glibc 2.34+ ARM64 Details
platynui_native-0.12.0.dev330-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details

Total release size: 18.6 MB

Release files / platynui_native-0.12.0.dev330-cp312-abi3-win_arm64.whl

Download URL platynui_native-0.12.0.dev330-cp312-abi3-win_arm64.whl
Size 2.6 MB
Tags CPython 3.12 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
00f6da6c8b3e7d0681ca20120747eb0646d8aec7517a8960e04dc43cdeda440e
BLAKE2b-256 checksum
How to use checksums
62823e2cf81d2a247eceb0eab4e6d8db4715f665413af3ce62b66afde129fd71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.12.0.dev330-cp312-abi3-win_amd64.whl

Download URL platynui_native-0.12.0.dev330-cp312-abi3-win_amd64.whl
Size 2.7 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7f0dc5f48492a302cbec246b99b93b86f3558921f2d5a73c6f33c1a85908dd9e
BLAKE2b-256 checksum
How to use checksums
47632991c13476575ed1d09f4f1f954a16e7736226f44648c8b8aa3592abf235
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.12.0.dev330-cp312-abi3-manylinux_2_34_x86_64.whl

Download URL platynui_native-0.12.0.dev330-cp312-abi3-manylinux_2_34_x86_64.whl
Size 5.3 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
d5421cb5b617f970502773cb74f2c6cfe33eade516ab7f557c158403c3a00816
BLAKE2b-256 checksum
How to use checksums
34d0d9195a4193335f1e253b92959d776fda3d9ed901e6cbb5c12f1a2d516b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.12.0.dev330-cp312-abi3-manylinux_2_34_aarch64.whl

Download URL platynui_native-0.12.0.dev330-cp312-abi3-manylinux_2_34_aarch64.whl
Size 5.3 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
135760db2f407d6aa1c503e4a6e6b622c88d43b5109bef1b9d53b4bb049bda25
BLAKE2b-256 checksum
How to use checksums
07f4a70d23c86d49cf7f7092d9d2f70659f150d577e0d010a920987f9e362342
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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.12.0.dev330-cp312-abi3-macosx_11_0_arm64.whl

Download URL platynui_native-0.12.0.dev330-cp312-abi3-macosx_11_0_arm64.whl
Size 2.7 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6245f02b518ecc39d6df1f351abab3a34afd1fbdb88d893bbd9523f9afedd811
BLAKE2b-256 checksum
How to use checksums
e81a7b17b2745342e0a78af10eb78533c21d67d0f801be5d356901ce2c2a0e1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","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