# Python GUI libraries

Python GUI libraries build the windows, buttons, and forms of desktop applications written in Python. These libraries put a desktop interface on internal tools, data apps, and scripts that people run without a terminal.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [PySide6](#pyside) | 4.2M | Not on GitHub | Oct 2026 | LGPL / GPL |
| [pywebview](#pywebview) | 2.3M | 6.2K | Apr 2026 | BSD-3-Clause |
| [PyQt6](#pyqt) | 1.7M | Not on GitHub | Oct 2026 | GPL-3.0-only |
| [NiceGUI](#nicegui) | 1.3M | 16.3K | Nov 2026 | MIT |
| [CustomTkinter](#customtkinter) | 735.6K | 13.6K | Jun 2026 | MIT |
| [Flet](#flet) | 359.3K | 17.6K | Nov 2026 | Apache-2.0 |
| [Dear PyGui](#dearpygui) | 248.7K | 15.7K | May 2026 | MIT |
| [Kivy](#kivy) | 210.1K | 19.0K | Nov 2026 | MIT |

Downloads: PyPI, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[PySide6](#pyside) has the most installs, while [Kivy](#kivy) has the most GitHub stars.

## Capabilities

| Library | Desktop windows | Light/dark appearance | System appearance integration |
| --- | --- | --- | --- |
| [PySide6](#pyside) | Yes | Yes | Yes |
| [pywebview](#pywebview) | Yes | Undocumented | Undocumented |
| [PyQt6](#pyqt) | Yes | Yes | Yes |
| [NiceGUI](#nicegui) | Via plugin | Yes | Yes |
| [CustomTkinter](#customtkinter) | Yes | Yes | Yes |
| [Flet](#flet) | Yes | Yes | Yes |
| [Dear PyGui](#dearpygui) | Yes | Via plugin | Undocumented |
| [Kivy](#kivy) | Yes | Via plugin | Via plugin |

## Libraries

### PySide6

[Source](https://code.qt.io/cgit/pyside/pyside-setup.git/) · [PyPI](https://pypi.org/project/PySide6) · [Docs](https://doc.qt.io/qtforpython-6/tutorials/basictutorial/widgets.html)

PySide6 is the official Python module of the Qt for Python project. The module exposes the complete Qt framework, a C++ toolkit for desktop and mobile interfaces, to Python code. Its PyPI wheel includes the Qt libraries, which spares a project from installing Qt on its own. An app creates a `QApplication`, shows widgets such as a `QLabel`, then calls `app.exec()` to run the event loop, which waits for clicks and key presses. The Qt for Python project releases PySide6 under the LGPL. [PyQt6](#pyqt) offers the same Qt classes under the GPL or a paid commercial license.

- Downloads / mo: 4.2M
- Last release: 6.12.0
- License: LGPL / GPL
- Capabilities: [From the PySide6 docs](https://doc.qt.io/qtforpython-6/tutorials/basictutorial/widgets.html)

**Strengths**

- **Qt comes in the wheel.** pip install pyside6 brings the Qt binaries, so Qt needs no separate install.
- **Visual form designer.** Lay out Qt Widgets forms by drag and drop in pyside6-designer.

**Watch out for**

- **iOS builds need Xcode.** Build and sign the generated iOS project in Xcode.

```sh
pip install pyside6
```

**zhiyiYo/PyQt-Fluent-Widgets** (8.2K stars)

[zhiyiYo/PyQt-Fluent-Widgets](https://github.com/zhiyiYo/PyQt-Fluent-Widgets) 

```python
def _setUpUi(self, title, content, parent):
    self.content = content
    self.titleLabel = QLabel(title, parent)
    self.contentLabel = BodyLabel(content, parent)

    self.buttonGroup = QFrame(parent)
    self.yesButton = PrimaryPushButton(self.tr('OK'), self.buttonGroup)
    self.cancelButton = QPushButton(self.tr('Cancel'), self.buttonGroup)

    self.vBoxLayout = QVBoxLayout(parent)
    self.textLayout = QVBoxLayout()
    self.buttonLayout = QHBoxLayout(self.buttonGroup)

    self.__initWidget()

```

[qfluentwidgets/components/dialog_box/dialog.py](https://github.com/zhiyiYo/PyQt-Fluent-Widgets/blob/d6f5a01f7f3fe285c6900e476349467810267839/qfluentwidgets/components/dialog_box/dialog.py#L24-L37) · [More projects using PySide6 →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20PySide6&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import sys
from PySide6.QtWidgets import QApplication, QLabel

app = QApplication(sys.argv)
label = QLabel("Hello World!")
label.show()
app.exec()

```

From [widgets.html](https://doc.qt.io/qtforpython-6/tutorials/basictutorial/widgets.html)

### pywebview

[GitHub](https://github.com/r0x0r/pywebview) · [PyPI](https://pypi.org/project/pywebview) · [Docs](https://pywebview.flowrl.com/)

pywebview shows an HTML, CSS, and JavaScript interface inside a native desktop window. The window uses the operating system's own web component: WinForms on Windows, Cocoa on macOS, and GTK or Qt on Linux. `webview.create_window` opens a window on a URL. The GUI loop then runs inside `webview.start` until the last window closes. A two-way bridge lets JavaScript call Python and Python run JavaScript in the page. Frozen apps, packaged as a single executable, stay small because pywebview bundles no web renderer. [NiceGUI](#nicegui) also shows HTML in a window but generates it from Python calls.

- Downloads / mo: 2.3M
- Stars: 6.2K
- Last release: 6.2.1
- License: BSD-3-Clause
- Capabilities: [From the pywebview docs](https://pywebview.flowrl.com/)

**Strengths**

- **Two-way JavaScript bridge.** Call Python from JavaScript, and run JavaScript from Python.
- **Small frozen executables.** A frozen app uses the system's web renderer instead of bundling one.

**Watch out for**

- **The GUI loop blocks.** webview.start() blocks until the last window closes, so run backend logic in a separate thread.

```sh
pip install pywebview
```

**zauberzeug/nicegui** (16.3K stars)

[zauberzeug/nicegui](https://github.com/zauberzeug/nicegui) 

```python
def _open_window(
    protocol: str, host: str, port: int, title: str, width: int, height: int, fullscreen: bool, frameless: bool,
    method_queue: mp.Queue, response_queue: mp.Queue, event_sender: Connection,
    favicon: str | Path | None = None,
    window_args: dict[str, Any] | None = None,
    settings: dict[str, Any] | None = None,
    start_args: dict[str, Any] | None = None,
    dropped_keys: dict[str, list[str]] | None = None,
) -> None:
    if sys.platform == 'win32':
        # uvicorn restarts the worker with a console-wide Ctrl+C, which makes pywebview >= 6.2 close the window (#6381).
        # Ignore it on the Windows level, because signal.SIG_IGN is not enough: webview.start() overwrites the handler.
        # Child processes inherit this setting. NiceGUI only starts WebView2 here, but subprocesses spawned via
        # app.native.start_args['func'] inherit it as well.
        ctypes.windll.kernel32.SetConsoleCtrlHandler(None, True)

    while not helpers.is_port_open(host, port):
        time.sleep(0.1)

    # Let re-imported values win over the parent's picklable subset, so previous behavior is preserved (#6082).
    window_args = {**(window_args or {}), **core.app.native.window_args}
    settings = {**(settings or {}), **core.app.native.settings}
    start_args = {**(start_args or {}), **core.app.native.start_args}

    # Warn only about keys the parent could not pickle AND re-import did not restore here, i.e. that are truly lost.
    for name, merged in [('window_args', window_args), ('settings', settings), ('start_args', start_args)]:
        for key in (dropped_keys or {}).get(name, []):
            if key not in merged:
                helpers.warn_once(
                    f'Could not forward app.native.{name}["{key}"] to the native window process '
                    'because it is not picklable, so it is ignored. '
                    'See https://github.com/zauberzeug/nicegui/issues/6082 for details.'
                )

    window_kwargs = {
        'url': helpers.format_url(protocol, host, port),
        'title': title,
        'width': width,
        'height': height,
        'fullscreen': fullscreen,
        'frameless': frameless,
        **window_args,
    }
    webview.settings.update(**settings)
    window = webview.create_window(**window_kwargs)
    assert window is not None
    closed = Event()
    window.events.closed += closed.set
    _bind_pywebview_events(window, event_sender)

    if sys.platform == 'win32' and favicon is not None:
        def on_shown() -> None:
            window_icon.apply_icon(window.native.Handle.ToInt32(), title, str(favicon))
            window.events.shown -= on_shown
        window.events.shown += on_shown

    _start_window_method_executor(window, method_queue, response_queue, closed)
    _warn_if_esm_unsupported(window)

    webview.start(**start_args)

```

[nicegui/native/native_mode.py](https://github.com/zauberzeug/nicegui/blob/884eb1c38e58f976bce451d4e19cf898b78dfefa/nicegui/native/native_mode.py#L33-L92) · [More projects using pywebview →](https://dashboard.exa.ai/playground/search?q=pywebview%20GitHub%20projects)

**Quickstart**

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

```

From [README.md](https://raw.githubusercontent.com/r0x0r/pywebview/master/README.md)

### PyQt6

[PyPI](https://pypi.org/project/PyQt6) · [Docs](https://www.riverbankcomputing.com/static/Docs/PyQt6/introduction.html)

PyQt6 is Riverbank Computing's set of Python bindings for Qt, built as more than thirty-five extension modules that run on desktop, iOS, and Android. A `pip install` is enough to start, because the GPL wheels on PyPI include a copy of Qt. Each widget emits signals, such as a button's `clicked`, that connect to any Python function. Riverbank licenses the bindings under the GPL or its own commercial license, never the LGPL that [PySide6](#pyside) uses.

- Downloads / mo: 1.7M
- Last release: 6.12.0
- License: GPL-3.0-only
- Capabilities: [From the PyQt6 docs](https://www.riverbankcomputing.com/static/Docs/PyQt6/introduction.html)

**Strengths**

- **The full Qt toolkit.** Use Qt widgets, networking, SQL databases, and OpenGL from Python.
- **Signals and slots.** Connect a widget's signal to any Python callable.

**Watch out for**

- **GPL unless commercially licensed.** Under the GPL version, the application's own code must use a compatible license.

```sh
pip install PyQt6
```

**chidiwilliams/buzz** (22.6K stars)

[chidiwilliams/buzz](https://github.com/chidiwilliams/buzz) 

```python
def _maybe_show_cuda_prompt(self):
    """On first launch (Windows/Linux), offer CUDA installation if an NVIDIA GPU is present."""
    from buzz import cuda_manager
    is_nvidia_gpu_present = cuda_manager.is_nvidia_gpu_present()

    logging.debug(f"Nvidia GPU detected: {is_nvidia_gpu_present}")

    if not is_nvidia_gpu_present:
        return
    if not cuda_manager.should_offer_cuda_prompt():
        return
    # Checked before is_cuda_torch_installed(), which imports torch and would
    # otherwise add about a second to every launch after the first.
    if self.settings.value(Settings.Key.CUDA_PROMPT_SHOWN, False):
        return
    # The packaged builds all ship CPU-only torch, so this only ever fires
    # for a pip or source install where the user set up CUDA themselves.
    # Offering them a second, shadowing torch would be worse than useless.
    if cuda_manager.is_cuda_torch_installed():
        logging.debug("CUDA torch already available; not offering the install")
        return
    self.settings.set_value(Settings.Key.CUDA_PROMPT_SHOWN, True)

    from PyQt6.QtCore import QTimer
    from buzz.widgets.cuda_installer_widget import CudaInstallerDialog

    def _show():
        dialog = CudaInstallerDialog(self)
        dialog.show()
        dialog.raise_()
        dialog.activateWindow()

    # Owned by the window, so the timer is destroyed with it. A bare
    # QTimer.singleShot would still fire after the window was deleted,
    # e.g. when it closes within 500 ms.
    timer = QTimer(self)
    timer.setSingleShot(True)
    timer.timeout.connect(_show)
    timer.start(500)

```

[buzz/widgets/main_window.py](https://github.com/chidiwilliams/buzz/blob/0556d179a048f2fc1c139f53ee8cc663b218c944/buzz/widgets/main_window.py#L726-L764) · [More projects using PyQt6 →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20PyQt6&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from PyQt6.QtWidgets import QApplication, QWidget
a = QApplication([])
w = QWidget()
w.show()
w.hide()

```

From [python_shell.html](https://www.riverbankcomputing.com/static/Docs/PyQt6/python_shell.html)

### NiceGUI

[GitHub](https://github.com/zauberzeug/nicegui) · [PyPI](https://pypi.org/project/nicegui) · [Docs](https://raw.githubusercontent.com/zauberzeug/nicegui/main/README.md)

NiceGUI builds a web interface from Python calls and shows it in the browser, or in a desktop window in native mode. Each element is a function such as `ui.label` or `ui.button`. Calling `ui.run()` starts the web server that serves the page. Higher-level elements plot charts, render three-dimensional scenes, show maps, and edit tables. Unlike [pywebview](#pywebview), NiceGUI generates the HTML from those calls and reloads the page during development every time the code changes.

- Downloads / mo: 1.3M
- Stars: 16.3K
- Last release: 4.0.0
- License: MIT
- Capabilities: [From the NiceGUI docs](https://raw.githubusercontent.com/zauberzeug/nicegui/main/README.md)

**Strengths**

- **Runs in the browser.** Create buttons, dialogs, and Markdown with Python calls.
- **Charts, 3D scenes, and tables.** Plot charts, render 3D scenes, and work with tables from ready-made elements.

**Watch out for**

- **Desktop mode needs a recent engine.** Desktop windows require a recent Chromium or WebKit engine.

```sh
python3 -m pip install nicegui
```

**daya0576/beaverhabits** (1.9K stars)

[daya0576/beaverhabits](https://github.com/daya0576/beaverhabits) 

```python
async def settings_page(user: User):
    configs = await views.get_user_configs(user)

    async def update_custom_css(e):
        await views.update_custom_css(user, e.value)
        views.apply_theme_style()

    def toggle_dark_mode(value: bool):
        set_user_dark_mode(value)
        if value:
            ui.dark_mode().enable()
        else:
            ui.dark_mode().disable()

    with layout(title="Settings"):
        with ui.column().classes("w-[600px]"):
            # ui.label("Darkmode").classes("text-lg font-bold")
            # with ui.row():
            #     ui.button("Dark", on_click=lambda: toggle_dark_mode(True))
            #     ui.button("Light", on_click=lambda: toggle_dark_mode(False))

            ui.label("Custom CSS").classes("text-lg font-bold")
            editor = ui.codemirror(
                configs.custom_css or EDIT_ME, language="CSS", theme="githubDark"
            ).classes("h-96")
            editor.on_value_change(update_custom_css)

```

[beaverhabits/frontend/settings_page.py](https://github.com/daya0576/beaverhabits/blob/78b4cee1945387eca6bd8fad09d4226261a9fdd1/beaverhabits/frontend/settings_page.py#L16-L41) · [More projects using NiceGUI →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20nicegui&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from nicegui import ui

ui.label('Hello NiceGUI!')
ui.button('BUTTON', on_click=lambda: ui.notify('button was pressed'))

ui.run()

```

From [README.md](https://raw.githubusercontent.com/zauberzeug/nicegui/main/README.md)

### CustomTkinter

[GitHub](https://github.com/TomSchimansky/CustomTkinter) · [PyPI](https://pypi.org/project/customtkinter) · [Docs](https://customtkinter.tomschimansky.com/)

CustomTkinter is a Python UI library based on Tkinter, the toolkit that ships with Python. Its redrawn widgets follow light and dark modes and scale for high-DPI screens on Windows and macOS. Each widget replaces a Tkinter counterpart, such as `CTkButton` for `Button`, inside a `CTk` window, where ordinary Tkinter widgets also work. The `set_appearance_mode` function follows the system setting or forces light or dark.

- Downloads / mo: 735.6K
- Stars: 13.6K
- Last release: 6.0.0
- License: MIT
- Capabilities: [From the CustomTkinter docs](https://customtkinter.tomschimansky.com/)

**Strengths**

- **Works with Tkinter widgets.** Mix CustomTkinter widgets with ordinary Tkinter widgets in one window.
- **Follows the system appearance.** In system mode, the app switches between light and dark when the OS does.

**Watch out for**

- **System mode stays light on Linux.** Linux doesn't report its appearance mode, so set light or dark explicitly there.

```sh
pip3 install customtkinter
```

**HenestrosaDev/audiotext** (357 stars)

[HenestrosaDev/audiotext](https://github.com/HenestrosaDev/audiotext) 

```python
@staticmethod
def _source_card(
    master: Any, icon_name: str, title: Text, description: Text
) -> ctk.CTkFrame:
    card = ctk.CTkFrame(
        master,
        width=170,
        height=150,
        fg_color=theme.CARD_BG,
        border_color=theme.CARD_BORDER,
        border_width=1,
        corner_radius=14,
        cursor="hand2",
    )
    card.grid_propagate(False)
    card.grid_columnconfigure(0, weight=1)
    ctk.CTkLabel(
        card,
        text="",
        image=icons.icon(icon_name, 22, theme.ICON_ON_ACCENT),
        width=42,
        height=42,
        corner_radius=10,
        fg_color=theme.ACCENT,
    ).grid(row=0, column=0, pady=(22, 10))
    localize(ctk.CTkLabel(card, font=theme.font(15, "bold")), text=title).grid(
        row=1, column=0
    )
    localize(
        ctk.CTkLabel(
            card, font=theme.font(12), text_color=theme.HINT_TEXT, wraplength=150
        ),
        text=description,
    ).grid(row=2, column=0, padx=8)
    return card

```

[src/views/main_window/welcome_view.py](https://github.com/HenestrosaDev/audiotext/blob/8d44fc727f8b83003c4a2190615c808f5c1a9578/src/views/main_window/welcome_view.py#L79-L113) · [More projects using CustomTkinter →](https://dashboard.exa.ai/playground/search?q=customtkinter%20GitHub%20projects)

**Quickstart**

```python
import customtkinter

customtkinter.set_appearance_mode("System")  # Modes: system (default), light, dark
customtkinter.set_default_color_theme("blue")  # Themes: blue (default), dark-blue, green

app = customtkinter.CTk()  # create CTk window like you do with the Tk window
app.geometry("400x240")

def button_function():
    print("button pressed")

# Use CTkButton instead of tkinter Button
button = customtkinter.CTkButton(master=app, text="CTkButton", command=button_function)
button.place(relx=0.5, rely=0.5, anchor=customtkinter.CENTER)

app.mainloop()

```

From [Readme.md](https://raw.githubusercontent.com/TomSchimansky/CustomTkinter/master/Readme.md)

### Flet

[GitHub](https://github.com/flet-dev/flet) · [PyPI](https://pypi.org/project/flet) · [Docs](https://docs.flet.dev/)

Flet builds apps for iOS, Android, Windows, macOS, Linux, and the web in Python, with no Dart, Swift, Kotlin, HTML, or JavaScript. The interface comes from more than a hundred and fifty built-in controls. A `main` function adds them to the page and is passed to `ft.run`. The `flet build` command packages the same app for app stores, the desktop, or the web. Web builds can run Python in the browser through Pyodide, a Python runtime for WebAssembly. Extensions add new controls to an app by wrapping existing Flutter packages in Python.

- Downloads / mo: 359.3K
- Stars: 17.6K
- Last release: 1.1.2
- License: Apache-2.0
- Capabilities: [From the Flet docs](https://docs.flet.dev/)

**Strengths**

- **Packages for every platform.** Build the same app for iOS, Android, Windows, Linux, macOS, and the web.
- **Web apps without a server.** Web builds run in the browser with WebAssembly and Pyodide.

```sh
pip install 'flet[all]'
```

**HG-ha/MTools** (1.4K stars)

[HG-ha/MTools](https://github.com/HG-ha/MTools) 

```python
def _init_empty_file_list(self) -> None:
    """初始化空文件列表状态。"""
    self.file_list_view.controls.clear()
    self.file_list_view.controls.append(
        ft.Container(
            content=ft.Column(
                controls=[
                    ft.Icon(ft.Icons.IMAGE_OUTLINED, size=48, color=ft.Colors.ON_SURFACE_VARIANT),
                    ft.Text("未选择文件", color=ft.Colors.ON_SURFACE_VARIANT, size=14),
                    ft.Text("点击此处或选择按钮添加图片", color=ft.Colors.ON_SURFACE_VARIANT, size=12),
                ],
                horizontal_alignment=ft.CrossAxisAlignment.CENTER,
                alignment=ft.MainAxisAlignment.CENTER,
                spacing=PADDING_SMALL,
            ),
            height=250,  # 固定高度以确保填满显示区域
            alignment=ft.Alignment.CENTER,
            on_click=self._on_select_files,
            ink=True,
            tooltip="点击选择图片文件",
        )
    )

```

[src/views/image/watermark_view.py](https://github.com/HG-ha/MTools/blob/04c20adf0289071beebff07cb61d07d65cdf5ec2/src/views/image/watermark_view.py#L1004-L1025) · [More projects using Flet →](https://dashboard.exa.ai/playground/search?q=flet%20GitHub%20projects)

**Quickstart**

```python
import flet as ft 

def main(page: ft.Page): 

 page.add(ft.Text("Hello from Flet!")) 

ft.run(main)

```

From [index.html](https://docs.flet.dev/)

### Dear PyGui

[GitHub](https://github.com/hoffstadt/DearPyGui) · [PyPI](https://pypi.org/project/dearpygui) · [Docs](https://dearpygui.readthedocs.io/en/latest/)

Dear PyGui is a GUI framework for Python that renders on the GPU from C and C++ code. Built-in parts include plots, a node editor, and tools for inspecting themes and runtime metrics. A script calls `dpg.create_context` and builds windows with functions such as `dpg.add_text`, then runs the render loop with `dpg.start_dearpygui`. Plots display over a million data points with zoom and pan. Unlike [CustomTkinter](#customtkinter), which builds on Tkinter, Dear PyGui draws every widget itself.

- Downloads / mo: 248.7K
- Stars: 15.7K
- Last release: 2.3.1
- License: MIT
- Capabilities: [From the Dear PyGui docs](https://dearpygui.readthedocs.io/en/latest/)

**Strengths**

- **Plots large datasets.** Plot over 1 million points at 60 fps, with zoom and pan.
- **Built-in node editor.** Build node-graph interfaces with the bundled node editor.

**Watch out for**

- **Needs 64-bit Python.** Install it on a 64-bit Python 3.8 or later.

```sh
pip install dearpygui
```

**Kazuhito00/Image-Processing-Node-Editor** (566 stars)

[Kazuhito00/Image-Processing-Node-Editor](https://github.com/Kazuhito00/Image-Processing-Node-Editor) 

```python
def _callback_link(self, sender, data):
    # 各接続子の型を取得
    source = dpg.get_item_alias(data[0])
    destination = dpg.get_item_alias(data[1])
    source_type = source.split(':')[2]
    destination_type = destination.split(':')[2]

    # 型が一致するもののみ処理
    if source_type == destination_type:
        # 初回ノード生成時
        if len(self._node_link_list) == 0:
            dpg.add_node_link(source, destination, parent=sender)
            self._node_link_list.append([source, destination])
        # 2回目以降
        else:
            # 入力端子に複数接続しようとしていないかチェック
            duplicate_flag = False
            for node_link in self._node_link_list:
                if destination == node_link[1]:
                    duplicate_flag = True
            if not duplicate_flag:
                dpg.add_node_link(source, destination, parent=sender)
                self._node_link_list.append([source, destination])

    # ノードグラフ再生成
    self._node_connection_dict = self._sort_node_graph(
        self._node_list,
        self._node_link_list,
    )

    if self._use_debug_print:
        print('**** _callback_link ****')
        print('    sender                     : ' + str(sender))
        print('    data                       : ', data)
        print('    self._node_list            :    ', self._node_list)
        print('    self._node_link_list       : ', self._node_link_list)
        print('    self._node_connection_dict : ',
              self._node_connection_dict)
        print()

```

[node_editor/node_editor.py](https://github.com/Kazuhito00/Image-Processing-Node-Editor/blob/f4c341477110f2e8584713862b2ee139cc75cb77/node_editor/node_editor.py#L245-L283) · [More projects using Dear PyGui →](https://dashboard.exa.ai/playground/search?q=dearpygui%20GitHub%20projects)

**Quickstart**

```python
import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport(title='Custom Title', width=600, height=300)

with dpg.window(label="Example Window"):
    dpg.add_text("Hello, world")
    dpg.add_button(label="Save")
    dpg.add_input_text(label="string", default_value="Quick brown fox")
    dpg.add_slider_float(label="float", default_value=0.273, max_value=1)

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

```

From [first-steps.html](https://dearpygui.readthedocs.io/en/latest/tutorials/first-steps.html)

### Kivy

[GitHub](https://github.com/kivy/kivy) · [PyPI](https://pypi.org/project/Kivy) · [Docs](https://raw.githubusercontent.com/kivy/kivy/master/README.md)

Kivy is an open-source Python framework for apps that run on Windows, macOS, Linux, Android, and iOS from one codebase, including Raspberry Pi OS on Linux. Written in Python and Cython, Kivy draws its own widgets with OpenGL ES, a graphics API for embedded and mobile devices, with multitouch input on every widget in the library. An app subclasses `App` and returns its root widget, such as a `Label`, from its `build` method.

- Downloads / mo: 210.1K
- Stars: 19.0K
- Last release: 2.3.2
- License: MIT
- Capabilities: [From the Kivy docs](https://raw.githubusercontent.com/kivy/kivy/master/README.md)

**Strengths**

- **Desktop and mobile from one codebase.** Run the same code on Windows, macOS, Linux, Android, and iOS.
- **Multitouch widgets.** Every Kivy widget supports multitouch.

**Watch out for**

- **iOS builds need macOS.** Use macOS and Xcode to build an iOS package.

```sh
python -m pip install "kivy[base]" kivy_examples
```

**BusKill/buskill-app** (334 stars)

[BusKill/buskill-app](https://github.com/BusKill/buskill-app) 

```python
def on_touch_up( self, touch ):

	# skip this touch event if it wasn't *this* widget that was touched
	# * https://kivy.org/doc/stable/guide/inputs.html#touch-event-basics
	if not self.collide_point(*touch.pos):
		return

	# skip this touch event if they touched on an option that's already the
	# enabled option
	if self.parent_option.value == self.value:
		msg = "DEBUG: Option already equals '" +str(self.value)+ "'. Returning."
		print( msg ); logger.debug( msg )
		return

	# does this option have a warning to prompt the user to confirm their
	# selection before proceeding?
	if self.confirmation == "":
		# this option is safe; no confirmation is necessary
		self.enable_option()

	else:
		# this option can be dangerous; confirm with user before continuing

		self.dialog = DialogConfirmation(
		 title = '[font=mdicons][size=31]\ue002[/size][/font] Warning',
		 body = self.confirmation,
		 button='Continue',
		 continue_function=self.enable_option
		)
		self.dialog.b_cancel.text = "Cancel"
		self.dialog.open()

```

[src/buskill_gui.py](https://github.com/BusKill/buskill-app/blob/66cc42d746cd0efdacbfe03c6d5b0b5b15a9a512/src/buskill_gui.py#L527-L557) · [More projects using Kivy →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20Kivy&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import kivy
kivy.require('2.1.0') # replace with your current kivy version !

from kivy.app import App
from kivy.uix.label import Label

class MyApp(App):

    def build(self):
        return Label(text='Hello world')

if __name__ == '__main__':
    MyApp().run()

```

From [basic.html](https://kivy.org/doc/stable/guide/basic.html)

## FAQ

### Which Python GUI library should I use?

Use [PySide6](#pyside) for a full desktop app. It has the most downloads, at 4.2M a month, and it's available under the LGPL. Choose [CustomTkinter](#customtkinter) for a modern look on Tkinter, [NiceGUI](#nicegui) for a browser interface, or [Flet](#flet) to ship one app to desktop, web, and mobile.

### PySide6 vs PyQt6: which should I use?

Both wrap Qt, so they offer the same widgets. The difference is the license: [PySide6](#pyside) is available under the LGPL, while [PyQt6](#pyqt) comes under the GPL or a commercial license, and its GPL version requires the application's own code to use a compatible license.

### PyQt vs Tkinter: which is better?

Choose [PyQt6](#pyqt) for a large app, and Tkinter for a small tool. PyQt6 provides the whole Qt toolkit, including networking, SQL databases, and a visual form designer. Tkinter is Python's standard interface to Tk, and [CustomTkinter](#customtkinter) adds modern widgets with light and dark modes on top of it.

### How do I make a GUI in Python?

Install a toolkit, create a window, add widgets, and start the event loop. With [PySide6](#pyside), install it with pip, create a `QApplication`, show a `QLabel`, and call `app.exec()`.

### What is Dear PyGui good for?

[Dear PyGui](#dearpygui) suits tools that plot a lot of data. It renders on the GPU, keeps plots with over a million points smooth, and includes a node editor.

## How this page was built

Data checked Nov 18, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Python GUI libraries PySide6 PyQt6 wxPython Kivy NiceGUI tkinter official documentation desktop mobile layouts",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
