Skip to main content

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 Window object, 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/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.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pane-ui 0.1.8
File Size Uploaded
pane_ui-0.1.8.tar.gz 39.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pane-ui 0.1.8
File Interpreter ABI Platform
pane_ui-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 80.7 kB

Release files / pane_ui-0.1.8.tar.gz

Download URL pane_ui-0.1.8.tar.gz
Size 39.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6042ecea4349103865317ecb3aae8455e71ecd0be666c65a0afa3eb0446330f3
BLAKE2b-256 checksum
How to use checksums
9027bab60835075c9910c199f550151c093af68bd3cdf54ad61355a0acc9a409
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

Release files / pane_ui-0.1.8-py3-none-any.whl

Download URL pane_ui-0.1.8-py3-none-any.whl
Size 41.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1faa69aba7d7b90916c495ea6a3757d6f06a80ac4bad2f56d6f9c584ece859d5
BLAKE2b-256 checksum
How to use checksums
04f3fd1b0f6146e5252e666e68f64ed05b3af01e7af442c4fd33b6019302f25e
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

Release history Release notifications | RSS feed

0.1.10

2 release files

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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