|
1 | 1 | # WebUI Python v2.3.0 |
2 | 2 |
|
3 | | -[](https://github.com/alifcommunity/webui) [](https://github.com/alifcommunity/webui/issues) [](https://webui.me/) |
| 3 | +[](https://github.com/webui-dev/webui) [](https://github.com/webui-dev/webui/issues) [](https://webui.me/) |
4 | 4 |
|
5 | 5 | > Use any web browser as GUI, with Python in the backend and HTML5 in the frontend, all in a lightweight Python pypi package. |
6 | 6 |
|
7 | 7 |  |
8 | 8 |
|
9 | | -> :warning: **Notice**: |
10 | | -> |
11 | | -> * WebUI it's not a web-server solution or a framework, but it's an lightweight portable Python package to use any installed web browser as a user interface. |
12 | | -> |
13 | | -> * We are currently writing documentation. |
14 | | -
|
15 | 9 | ## Features |
16 | 10 |
|
17 | | -- Original library written in Pure C |
18 | 11 | - Fully Independent (*No need for any third-party runtimes*) |
19 | 12 | - Lightweight *~900 Kb* for the whole package & Small memory footprint |
20 | 13 | - Fast binary communication protocol between WebUI and the browser (*Instead of JSON*) |
21 | 14 | - Multi-platform & Multi-Browser |
22 | 15 | - Using private profile for safety |
| 16 | +- Original library written in Pure C |
23 | 17 |
|
24 | 18 | ## Screenshot |
25 | 19 |
|
26 | | -This [text editor example](https://github.com/alifcommunity/webui/tree/main/examples/C/text-editor) is written in Python using WebUI as the GUI library. |
| 20 | +This [text editor example](https://github.com/webui-dev/python-webui/tree/main/examples) is written in Python using WebUI as the GUI library. |
27 | 21 |
|
28 | 22 |  |
29 | 23 |
|
| 24 | +## Installation |
| 25 | + |
| 26 | +`pip install webui2` |
| 27 | + |
| 28 | +## Minimal Example |
| 29 | + |
| 30 | +``` |
| 31 | +from webui import webui |
| 32 | +
|
| 33 | +MyWindow = webui.window() |
| 34 | +MyWindow.show('<html>Hello World</html>') |
| 35 | +webui.wait() |
| 36 | +``` |
| 37 | + |
| 38 | +[More examples](https://github.com/webui-dev/python-webui/tree/main/examples) |
| 39 | + |
30 | 40 | ## CppCon 2019 Presentation |
31 | 41 |
|
32 | 42 | [Borislav Stanimirov](https://ibob.bg/) explained at [C++ Conference 2019 (*YouTube*)](https://www.youtube.com/watch?v=bbbcZd4cuxg) how beneficial it is to use the web browser as GUI. |
@@ -61,11 +71,7 @@ Think of WebUI like a WebView controller, but instead of embedding the WebView c |
61 | 71 |
|
62 | 72 | ## Documentation |
63 | 73 |
|
64 | | - - [Online Documentation - Python](https://webui.me/docs/#/python_api) |
65 | | - |
66 | | -## Examples |
67 | | - |
68 | | - - [Python](https://github.com/alifcommunity/webui/tree/main/examples/Python) |
| 74 | + - [Online Documentation](https://webui.me/docs/#/python_api) |
69 | 75 |
|
70 | 76 | ## Supported Web Browsers |
71 | 77 |
|
@@ -106,21 +112,19 @@ Think of WebUI like a WebView controller, but instead of embedding the WebView c |
106 | 112 |
|
107 | 113 | | Language | Status | Link | |
108 | 114 | | ------ | ------ | ------ | |
109 | | -| C | ✔️ | [examples/C](https://github.com/alifcommunity/webui/tree/main/examples/C) | |
110 | | -| C++ | ✔️ | [examples/C++](https://github.com/alifcommunity/webui/tree/main/examples/C%2B%2B) | |
111 | | -| Python | ✔️ | [examples/Python](https://github.com/alifcommunity/webui/tree/main/examples/Python) | |
112 | | -| JavaScript | ✔️ | [examples/TypeScript/Nodejs](https://github.com/alifcommunity/webui/tree/main/examples/TypeScript/Nodejs) | |
113 | | -| TypeScript | ✔️ | [examples/TypeScript/Deno](https://github.com/alifcommunity/webui/tree/main/examples/TypeScript/Deno) | |
114 | | -| Go | ✔️ | [examples/Go](https://github.com/alifcommunity/webui/tree/main/examples/Go) | |
115 | | -| Rust | *Not Complete* | [examples/Rust](https://github.com/alifcommunity/webui/tree/main/examples/Rust) | |
116 | | -| V | ✔️ | [malisipi/vwebui](https://github.com/malisipi/vwebui) | |
117 | | -| Nim | *Not Complete* | [neroist/webui](https://github.com/neroist/webui) | |
118 | | -| Zig | *Not Complete* | [desttinghim/webui](https://github.com/desttinghim/webui) | |
| 115 | +| C/C++ | ✔️ | [WebUI](https://github.com/webui-dev/webui) | |
| 116 | +| Python | ✔️ | [Python-WebUI](https://github.com/webui-dev/python-webui) | |
| 117 | +| TypeScript | ✔️ | [Deno](https://github.com/webui-dev/deno-webui) | |
| 118 | +| Go | ✔️ | [Go-WebUI](https://github.com/webui-dev/go-webui) | |
| 119 | +| Rust | *Not Complete* | [Rust-WebUI](https://github.com/webui-dev/rust-webui) | |
| 120 | +| V | ✔️ | [V-WebUI](https://github.com/webui-dev/v-webui) | |
| 121 | +| Nim | ✔️ | [webui-WebUI](https://github.com/webui-dev/nim-webui) | |
| 122 | +| Zig | *Not Complete* | [Zig-WebUI](https://github.com/webui-dev/zig-webui) | |
119 | 123 |
|
120 | 124 | ### License |
121 | 125 |
|
122 | 126 | > Licensed under MIT License. |
123 | 127 |
|
124 | 128 | ### Stargazers |
125 | 129 |
|
126 | | -[](https://github.com/alifcommunity/webui/stargazers) |
| 130 | +[](https://github.com/webui-dev/python-webui/stargazers) |
0 commit comments