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.

Metadata

Release files for platynui-native 0.13.0.dev117

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

Total release size: 20.0 MB

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

Download URL platynui_native-0.13.0.dev117-cp312-abi3-win_arm64.whl
Size 3.1 MB
Tags CPython 3.12 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
f0198ab79996b12081e24cd3a994e9f27b91bf6c5ee22b15947b61254c2d50ee
BLAKE2b-256 checksum
How to use checksums
bdf267cbf999e050f005efc0cd3f665f9101a2e0c3d4fb2d4d49b393ec55b4c2
Upload date
Uploaded using Trusted Publishing?
What is 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}

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

Download URL platynui_native-0.13.0.dev117-cp312-abi3-win_amd64.whl
Size 3.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
07eba3b7c49348f09665e43236414acc6b63e6d64b9a1394082fcefdafbb5ae3
BLAKE2b-256 checksum
How to use checksums
343b4e9b9ebed3200979ed21768ec8f32da1ad5be5f4302bce5ef798ea731acb
Upload date
Uploaded using Trusted Publishing?
What is 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}

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

Download URL platynui_native-0.13.0.dev117-cp312-abi3-manylinux_2_34_x86_64.whl
Size 5.4 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
c5760125621cfc699df6bf96cf9f5ad0819d45ce567338945d37a846aa9097ad
BLAKE2b-256 checksum
How to use checksums
db23d4dbf206d42cdb82a2425afa5abe8a8107a2ee235b59b41ecb0cd44ce698
Upload date
Uploaded using Trusted Publishing?
What is 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}

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

Download URL platynui_native-0.13.0.dev117-cp312-abi3-manylinux_2_34_aarch64.whl
Size 5.6 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
3a52e77947ad5673d498ecbe296e3ee26995a986278c693055f847a802bab66e
BLAKE2b-256 checksum
How to use checksums
dbca816e14d56ce227bcfe17d848d119c4727992cf7bda29e7ee206fb221ef85
Upload date
Uploaded using Trusted Publishing?
What is 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}

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

Download URL platynui_native-0.13.0.dev117-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
84626ab4149cd007572a3ed1596aec9928ceeb330455088484809d33629d4677
BLAKE2b-256 checksum
How to use checksums
2b3c22d0ef4c9da4dad64df27cf8ed9f7435f8c215ad8ea743e2b2ab6e501507
Upload date
Uploaded using Trusted Publishing?
What is 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}
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