Skip to main content

PyWebWinUI3

PyWebWinUI3 is a project that helps you easily build WinUI3-style desktop UIs in Python using PySide6, QtWebEngine, and Svelte.

Features

  • Modern and intuitive WinUI3-style UI components
  • Rapid desktop app development with Python
  • Frameless desktop window powered by Qt
  • Svelte-based frontend integration through QWebChannel
  • Custom fonts and Fluent icon support
  • Static frontend bundle loading without a local HTTP server

Installation & Build

You can install PyWebWinUI3 directly from PyPI:

pip install PyWebWinUI3

Usage

You can define your UI using XAML files and control the app with Python. See the example/ folder for more details.

Minimal Example

from pywebwinui3.core import MainWindow

app = MainWindow("PyWebWinUI3", "./app.ico")
app.addSettings("Settings.xaml")
app.addPage("Dashboard.xaml")
app.addPage("Test.xaml")

# Set values for UI bindings
app.values["system.theme"] = "dark"

app.start()

XAML Example (Settings.xaml)

<Page path="settings" icon="\ue713" name="Settings" title="Settings">
	<Box>
		<Horizontal>
			<Text>App theme</Text>
			<Space />
			<Select value="system.theme">
				<Option value="dark">Dark</Option>
				<Option value="light">Light</Option>
				<Option value="system">Use system setting</Option>
			</Select>
		</Horizontal>
	</Box>
	<!-- ...more UI elements... -->
</Page>

More

  • See example/example.py and the XAML files in example/ for advanced usage.
  • The desktop shell is now based on PySide6 + QtWebEngine, so PySide6 must be available in your environment.

Contributing

  • PRs and issues are welcome!
  • You can contribute Svelte components, Python modules, UI improvements, and more.

License

Apache-2.0

This README was generated using AI (GitHub Copilot).

Metadata

Release files for PyWebWinUI3 1.0.0

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

Source distribution (sdist)

Source distribution for PyWebWinUI3 1.0.0
File Size Uploaded Provenance Actions
pywebwinui3-1.0.0.tar.gz 3.2 MB Without provenance Details for pywebwinui3-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyWebWinUI3 1.0.0
File Interpreter ABI Platform Actions
pywebwinui3-1.0.0-py3-none-any.whl Python 3 none any Details for pywebwinui3-1.0.0-py3-none-any.whl

Total release size: 6.5 MB

Release files / pywebwinui3-1.0.0.tar.gz

Download URL pywebwinui3-1.0.0.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
41cf7071ee4a0c9ebdb2859bea8202dad308643274b7127051fb288a2eae9b17
BLAKE2b-256 checksum
How to use checksums
4daee66dc72684efa3ce3098ebd93e2f541a3beef838d44896f1796cc7e0ff20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / pywebwinui3-1.0.0-py3-none-any.whl

Download URL pywebwinui3-1.0.0-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b855eb7381c49c13aa50fc2c6cdc2c1a6ba2f183ba8d9d2fd2d15c7fdb795147
BLAKE2b-256 checksum
How to use checksums
65b51b9c057e61591ee7c9b980b5a72d5cc5b8016e754c27a1a75933867399cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for PyWebWinUI3 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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