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 - Theming - light/dark mode, accent colors
- Events - the
on_*callback convention - Threading -
pane.invoke()and background work - Value conversion -
to_thickness(),to_color()
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 pane_ui-0.1.7.tar.gz.
File metadata
- Download URL: pane_ui-0.1.7.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6820a8706136c41616d000b3583ab77e79759eba3d7cc2c43caaa0e629ff3eb
|
|
| MD5 |
16e35e0ea1c5257e509640b611b2f252
|
|
| BLAKE2b-256 |
1669db21767c06f298ea4d0c49de37463ccd144d394df22e4c960c0a3bed04ee
|
Provenance
The following attestation bundles were made for pane_ui-0.1.7.tar.gz:
Publisher:
publish.yml on HunterGHall/pane
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pane_ui-0.1.7.tar.gz -
Subject digest:
b6820a8706136c41616d000b3583ab77e79759eba3d7cc2c43caaa0e629ff3eb - Sigstore transparency entry: 2714098563
- Sigstore integration time:
-
Permalink:
HunterGHall/pane@9dc265fddb2ddb767601b7c2f2ba9a3f5df8f9fb -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/HunterGHall
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9dc265fddb2ddb767601b7c2f2ba9a3f5df8f9fb -
Trigger Event:
release
-
Statement type:
File details
Details for the file pane_ui-0.1.7-py3-none-any.whl.
File metadata
- Download URL: pane_ui-0.1.7-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fdaaed29b8b4395c09dcb08d44e995d6be3f7dde3b9897ae9c5ad72406a0d92
|
|
| MD5 |
f989f5f16ea30f9a33f682e827ac56c7
|
|
| BLAKE2b-256 |
eebffc1d37479f6f0d5d453cd1a1d47c80f071fbda187b057b22e65edc7a2eb6
|
Provenance
The following attestation bundles were made for pane_ui-0.1.7-py3-none-any.whl:
Publisher:
publish.yml on HunterGHall/pane
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pane_ui-0.1.7-py3-none-any.whl -
Subject digest:
4fdaaed29b8b4395c09dcb08d44e995d6be3f7dde3b9897ae9c5ad72406a0d92 - Sigstore transparency entry: 2714098804
- Sigstore integration time:
-
Permalink:
HunterGHall/pane@9dc265fddb2ddb767601b7c2f2ba9a3f5df8f9fb -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/HunterGHall
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9dc265fddb2ddb767601b7c2f2ba9a3f5df8f9fb -
Trigger Event:
release
-
Statement type: