
pywebview is a lightweight BSD-licensed cross-platform wrapper around a webview component. pywebview allows to display HTML content in its own native GUI window. It gives you power of web technologies in your desktop application, hiding the fact that GUI is browser based. pywebview ships with a built-in HTTP server, DOM support in Python and window management functionality.
Get started by installing pywebview, explore documentation or examples. If React is your thing, get started right away with React boilerplate.
devices
Cross-platform
Compatible with Windows, macOS, Linux, and Android, ensuring a consistent user experience across all major operating systems.
sync
Two-way Javascript↔Python communication
Facilitate direct communication between Javascript and Python without the need for HTTP or REST.
cloud
Built-in HTTP server
Easily serve static files with the integrated HTTP server, simplifying the process of hosting and accessing your web content.
grid_view
Window management
Control the appearance and behavior of the window, including its size, position, and title. Manage multiple windows with ease.
widgets
Native components
Utilize native GUI elements such as menus, message boxes, and file dialogs to provide a seamless user interface.
code
DOM support
Leverage the Python API to manipulate and traverse DOM nodes without resorting to Javascript.
folder
Enhanced filesystem support
Access the full path of dropped files, create save file and open file dialogs on demand.
package
Bundler friendly
Easily integrate with popular bundlers like pyinstaller, nuitka, and py2app, streamlining the packaging and distribution of your applications.
Become a financial contributor and help us sustain our community. More donation options are outlined on the Donating page.
