pane
Python bindings for Pane — a modern, minimalist Windows UI engine built on WPF. Build real native Windows app UIs from Python: buttons, checkboxes, sliders, text input, tabs, live light/dark theming and accent-color switching, all with a single custom-chrome window.
The engine itself is C#/WPF; this package drives it in-process via pythonnet, so widgets are the real native controls, not a re-implementation.
Windows only (WPF has no cross-platform equivalent). Requires the free .NET 8 Desktop Runtime — not the SDK, just the runtime.
Install
pip install pane-ui
Quick start
import pane
def build(window):
window.Content = pane.stack(
pane.text("Hello from Python", size="title", bold=True),
pane.button("Click me", style="primary", on_click=lambda: print("clicked!")),
pane.checkbox("Enable notifications", checked=True),
spacing=12,
margin=24,
)
pane.run(build, title="My App")
Run the full widget gallery from the source repo for a tour of everything
available: python examples/gallery.py.
Documentation
Full API reference - every widget, layout helper, the chat panel, the music player, theming, events, and the threading model:
- Getting started -
pane.run()and the builder pattern - The window - the real WPF
Windowobject, fullscreen/state - Widgets - buttons, inputs, lists, menus, and every other control
- Layout -
stack,grid,card,sidebar,scroll - Chat -
chat_panel(), the message-bubble widget - Music player -
music_player(), the transport/seek/volume widget - Playlist -
playlist(), the track-list widget - Theming - light/dark/system mode, accent colors, custom palettes
- Events - the
on_*callback convention - Threading -
pane.invoke()and background work - Value conversion -
to_thickness(),to_color()
License
MIT
Metadata
Release files for pane-ui 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pane_ui-0.1.10.tar.gz | 41.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pane_ui-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 86.5 kB
Release files / pane_ui-0.1.10.tar.gz
| Download URL | pane_ui-0.1.10.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baf517321341a430049b5f0aef970640f56cf6b5aa91acf201e8023ed16aef32
|
|
BLAKE2b-256 checksum How to use checksums |
56c2a1cff1a49d4fa9ad020162fe264486ef892743c853d2b77336e6d9cf1a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logRelease files / pane_ui-0.1.10-py3-none-any.whl
| Download URL | pane_ui-0.1.10-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35dccc25988994baf28aa6d1f701e11c5aad982b42dacfbb34ef1d7313f0ba96
|
|
BLAKE2b-256 checksum How to use checksums |
297d153f0b74fcf39260e55d6b50f2c0e404e618bb54d555f52ac1e13c484d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency log