Metadata-Version: 2.1
Name: webui2
Version: 2.4.0.2
Summary: Use any web browser as GUI
Author: Hassan Draga
Project-URL: Homepage, https://github.com/webui-dev/python-webui
Project-URL: Bug Tracker, https://github.com/webui-dev/python-webui/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# WebUI

Use any web browser as GUI, with Python in the backend and HTML5 in the frontend, all in a lightweight portable lib.

* [Online Documentation](https://webui.me/docs/#/python_api)

```sh
pip install webui2
```

```python
from webui import webui

def my_function(e : webui.event)
    print("Hi!, You clicked on " + e.element + " element")

MyWindow = webui.window()
MyWindow.bind("MyID", my_function)
MyWindow.show("<html>Hello World</html>")
webui.wait()
```

```sh
python test.py
```

![ScreenShot](https://raw.githubusercontent.com/webui-dev/python-webui/main/screenshot.png)
