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 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

pane_ui-0.1.7.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pane_ui-0.1.7-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

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

Hashes for pane_ui-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b6820a8706136c41616d000b3583ab77e79759eba3d7cc2c43caaa0e629ff3eb
MD5 16e35e0ea1c5257e509640b611b2f252
BLAKE2b-256 1669db21767c06f298ea4d0c49de37463ccd144d394df22e4c960c0a3bed04ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for pane_ui-0.1.7.tar.gz:

Publisher: publish.yml on HunterGHall/pane

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pane_ui-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4fdaaed29b8b4395c09dcb08d44e995d6be3f7dde3b9897ae9c5ad72406a0d92
MD5 f989f5f16ea30f9a33f682e827ac56c7
BLAKE2b-256 eebffc1d37479f6f0d5d453cd1a1d47c80f071fbda187b057b22e65edc7a2eb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pane_ui-0.1.7-py3-none-any.whl:

Publisher: publish.yml on HunterGHall/pane

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 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