# PyWebWinUI3
PyWebWinUI3 is a project that helps you easily build WinUI3-style desktop UIs in Python using [pywebview](https://pywebview.flowrl.com/).
## Features
- Modern and intuitive **WinUI3-style** UI components
- Rapid desktop app development with Python
- Svelte-based FrontEnd integration
- Custom fonts and Fluent icon support
## Installation & Build
You can install PyWebWinUI3 directly from PyPI:
```bash
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
```python
from pywebwinui3 import MainWindow, loadPage
app = MainWindow("PyWebWinUI3", debug=True)
app.addSettings(loadPage("Settings.xaml"))
app.addPage(loadPage("Dashboard.xaml"))
app.addPage(loadPage("Test.xaml"))
# Set values for UI bindings
app.setValue("system.theme", "dark")
app.start("dashboard")
```
### XAML Example (Settings.xaml)
```xml
<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.
## 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).
Raw data
{
"_id": null,
"home_page": "https://github.com/Haruna5718/PyWebWinUI3",
"name": "PyWebWinUI3",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "PyWebWinUI3, Haruna5718, pywebview, winui3, pypi",
"author": "Haruna5718",
"author_email": "devharuna5718@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/de/67/1b733bc4adfdfede193234a4ec1812283f72de85bc74c8e659dbfb0622c4/pywebwinui3-1.0.0b28.tar.gz",
"platform": null,
"description": "\n# PyWebWinUI3\n\nPyWebWinUI3 is a project that helps you easily build WinUI3-style desktop UIs in Python using [pywebview](https://pywebview.flowrl.com/).\n\n## Features\n- Modern and intuitive **WinUI3-style** UI components\n- Rapid desktop app development with Python\n- Svelte-based FrontEnd integration\n- Custom fonts and Fluent icon support\n\n## Installation & Build\nYou can install PyWebWinUI3 directly from PyPI:\n```bash\npip install PyWebWinUI3\n```\n\n## Usage\nYou can define your UI using XAML files and control the app with Python. See the `example/` folder for more details.\n\n### Minimal Example\n```python\nfrom pywebwinui3 import MainWindow, loadPage\n\napp = MainWindow(\"PyWebWinUI3\", debug=True)\napp.addSettings(loadPage(\"Settings.xaml\"))\napp.addPage(loadPage(\"Dashboard.xaml\"))\napp.addPage(loadPage(\"Test.xaml\"))\n\n# Set values for UI bindings\napp.setValue(\"system.theme\", \"dark\")\n\napp.start(\"dashboard\")\n```\n\n### XAML Example (Settings.xaml)\n```xml\n<Page path=\"settings\" icon=\"\\ue713\" name=\"Settings\" title=\"Settings\">\n\t<Box>\n\t\t<Horizontal>\n\t\t\t<Text>App theme</Text>\n\t\t\t<Space />\n\t\t\t<Select value=\"system.theme\">\n\t\t\t\t<Option value=\"dark\">Dark</Option>\n\t\t\t\t<Option value=\"light\">Light</Option>\n\t\t\t\t<Option value=\"system\">Use system setting</Option>\n\t\t\t</Select>\n\t\t</Horizontal>\n\t</Box>\n\t<!-- ...more UI elements... -->\n</Page>\n```\n\n### More\n- See `example/example.py` and the XAML files in `example/` for advanced usage.\n\n## Contributing\n- PRs and issues are welcome!\n- You can contribute Svelte components, Python modules, UI improvements, and more.\n\n## License\nApache-2.0\n\n> This README was generated using AI (GitHub Copilot).\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Create modern WinUI3-style desktop UIs in Python effortlessly using pywebview.",
"version": "1.0.0b28",
"project_urls": {
"Homepage": "https://github.com/Haruna5718/PyWebWinUI3"
},
"split_keywords": [
"pywebwinui3",
" haruna5718",
" pywebview",
" winui3",
" pypi"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "3504b7159c3100a5d38425abe170d661ec76c00352f9394f78baf357c6315447",
"md5": "7f517ed496f433ae3a6948e14f13d87d",
"sha256": "9c5ac0f17536ae62adf4f790ae51723d56968f3965ca8709bd8caff586969cd4"
},
"downloads": -1,
"filename": "pywebwinui3-1.0.0b28-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f517ed496f433ae3a6948e14f13d87d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3172302,
"upload_time": "2025-10-31T00:49:54",
"upload_time_iso_8601": "2025-10-31T00:49:54.235586Z",
"url": "https://files.pythonhosted.org/packages/35/04/b7159c3100a5d38425abe170d661ec76c00352f9394f78baf357c6315447/pywebwinui3-1.0.0b28-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "de671b733bc4adfdfede193234a4ec1812283f72de85bc74c8e659dbfb0622c4",
"md5": "ecdb59ea23f3405e842d6554ae0d1c2e",
"sha256": "087ff08fa1632eb0f30b2cc27423619ed6803047df7de02a3725d13da154d054"
},
"downloads": -1,
"filename": "pywebwinui3-1.0.0b28.tar.gz",
"has_sig": false,
"md5_digest": "ecdb59ea23f3405e842d6554ae0d1c2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3165377,
"upload_time": "2025-10-31T00:49:55",
"upload_time_iso_8601": "2025-10-31T00:49:55.827957Z",
"url": "https://files.pythonhosted.org/packages/de/67/1b733bc4adfdfede193234a4ec1812283f72de85bc74c8e659dbfb0622c4/pywebwinui3-1.0.0b28.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-31 00:49:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Haruna5718",
"github_project": "PyWebWinUI3",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pywebwinui3"
}