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.dev321

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

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

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

Download URL platynui_native-0.12.0.dev321-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
bce0d4e9f774dc9b3919ebc66873cb64b523a479b55a3c5333286db07218ecd7
BLAKE2b-256 checksum
How to use checksums
ab1d0fe213c6a971febb725c9c4f587930073837513e520b0be259525ea56647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.dev321-cp312-abi3-manylinux_2_34_aarch64.whl

Download URL platynui_native-0.12.0.dev321-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
949c42f14493f2482cd7fa68e356154f54ecdd86d97765233e26a2e383a469e1
BLAKE2b-256 checksum
How to use checksums
d4c3ab0de1601427a47dbc99a1edfb7c40f2d41f951f8e4f6a2af30e75263b93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.dev321-cp312-abi3-macosx_11_0_arm64.whl

Download URL platynui_native-0.12.0.dev321-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
04b9b0adae787bbae5022a5ed27bab58e068ac055a34ec32610fd79ed99f318e
BLAKE2b-256 checksum
How to use checksums
8e05da00ec883205a991cf3972452eb4b0fc9af48e1ecfb5e8456d911da84792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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