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-providerbefore usingRuntime.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
- ../../dev-docs/ - developer notes for Python bindings, Robot Framework library design, and platform behavior.
- ../../README.md - project overview.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file platynui_native-0.13.0.dev25-cp312-abi3-win_arm64.whl.
File metadata
- Download URL: platynui_native-0.13.0.dev25-cp312-abi3-win_arm64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.12+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78482315e097789cccc7162b24c902062ebf8d39e7981a2b3eafffca2235a349
|
|
| MD5 |
c43fc0016ba1e4be6122be6bbda4e695
|
|
| BLAKE2b-256 |
1f367be538cf2c6c349629c0a5e04951c83be194ad878685d2036b88861f52cc
|
File details
Details for the file platynui_native-0.13.0.dev25-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: platynui_native-0.13.0.dev25-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 3.0 MB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
065087a3dd199b4e63ce2c75041e370ecd7a07fff6770bef752d86ed9f690e17
|
|
| MD5 |
63f04e7f61e9166f6a0f7f2eb72895e3
|
|
| BLAKE2b-256 |
44a82a673bf7b03507a5af97ada394f5f16bc34949bbdc3ba249e8f2322ee986
|
File details
Details for the file platynui_native-0.13.0.dev25-cp312-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: platynui_native-0.13.0.dev25-cp312-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.12+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8f45bd1ad26e708d0a9bb6a34df7e62a669a9e93dfd94b36634c28119ed98b8
|
|
| MD5 |
80ff09853c87e071d1c90d2733d455f8
|
|
| BLAKE2b-256 |
ddcb2d1260000f4280e001e4010ccd0705de3cebf935d3f55f4b2647e64e4e23
|
File details
Details for the file platynui_native-0.13.0.dev25-cp312-abi3-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: platynui_native-0.13.0.dev25-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.29 {"installer":{"name":"uv","version":"0.11.29","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb0cf3bb745c1d23d4efeb2d668a91304ddac77bcf9d8aa4e00b1a4b514f8d74
|
|
| MD5 |
44021b4ac437f3dbd09f24debdf37d86
|
|
| BLAKE2b-256 |
43f17232cf62efd04d165c0f33d49f74edc4e65375f03b6d062f9584bb5a3388
|
File details
Details for the file platynui_native-0.13.0.dev25-cp312-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: platynui_native-0.13.0.dev25-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.29 {"installer":{"name":"uv","version":"0.11.29","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bfb4146425a12333c969c7e152cbbf15f5298d37335872911ff1fbac43904f3
|
|
| MD5 |
2e8cc23ef3ed88b615f8256b38a426e5
|
|
| BLAKE2b-256 |
c1417e89cf50e3eb4496b61dd9f535f8ef27f21d947ab43fb2aa26a0750a8496
|