Need help with pywebview?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

r0x0r
2.3K Stars 319 Forks BSD 3-Clause "New" or "Revised" License 1.3K Commits 25 Opened issues

Description

Build GUI for your Python program with JavaScript, HTML, and CSS

Services available

!
?

Need anything else?

Contributors list

# 17,571
cef
gtk
webkit
Qt
688 commits
# 47,509
C++
webkit
golang
cef
126 commits
# 87,369
graphql...
Qt
ace
cef
35 commits
# 49,354
Lua
remote-...
Flask
Less
29 commits
# 73,663
weather...
curl
GraphQL
Flask
26 commits
# 171,207
cef
gtk
osx
HTML
6 commits
# 194,971
Rust
cef
gtk
webkit
5 commits
# 224,814
cef
gtk
webkit
osx
5 commits
# 215,454
faceboo...
faceboo...
C
C++
5 commits
# 171,809
C++
D
beautif...
cef
4 commits
# 6,186
wechat-...
mac
alfred
omil
4 commits
# 264,870
cef
gtk
webkit
osx
3 commits
# 267,469
cef
gtk
webkit
osx
3 commits
# 140,529
dicom
HTML
wxpytho...
gtk
3 commits
# 302,769
cef
gtk
webkit
osx
2 commits
# 303,088
cef
gtk
webkit
osx
2 commits
# 1,848
penetra...
phantom...
python-...
sklearn
2 commits
# 288,577
HTML
seleniu...
cef
gtk
2 commits
# 303,089
cef
gtk
webkit
osx
2 commits
# 78,443
python3
baiducl...
gitee
gtk
2 commits

pywebview logo

PyPI version PyPI downloads Build Status Build status

https://pywebview.flowrl.com

pywebview is a lightweight cross-platform wrapper around a webview component that 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. You can use pywebview either with a lightweight web framework like Flask or Bottle or on its own with a two way bridge between Python and DOM.

pywebview uses native GUI for creating a web component window: WinForms on Windows, Cocoa on macOS and QT or GTK on Linux. If you choose to freeze your application, pywebview does not bundle a heavy GUI toolkit or web renderer with it keeping the executable size small. pywebview is compatible with Python 3.

pywebview is created by Roman Sirokov.

Getting started

Install

pip install pywebview

On Linux you need additional libraries. Refer to the installation page for details.

Hello world

import webview
webview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')
webview.start()

Explore pywebview further by reading documentation, examples or contributing. If React is your thing, get started right away with React boilerplate.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. More donation options are outlined on the Donating page.

Individuals

Become a Patron!

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.