Dear PyGui is a Python GUI toolkit with GPU rendering, plotting, and node editing, built on Dear ImGui. It targets scientific tools, scripts, and desktop utilities on major desktop operating systems.
Overview
Dear PyGui provides a Python interface for building desktop graphical interfaces using an immediate-mode model and the computer’s GPU. It is built on Dear ImGui with ImPlot and imnodes extensions, which differs from widget-retained GUI stacks by favoring dynamic, frequently updated interfaces.
You can assemble windows from buttons, menus, layouts, tables, and standard controls. Plotting can handle very large time series with zoom and pan, and a node editor supports graph-style interactions. A drawing API supports custom visuals, plots, and simple 2D scenes.
The toolkit includes a built-in demo that exercises widgets and can be studied as sample code. Developer-oriented panels expose themes, resource inspection, runtime metrics, and debugging aids. Theme and style can be adjusted for a modern appearance.
Installation expects 64-bit Python 3.8 or newer. Supported desktop targets include Windows, Linux, and macOS; documentation also notes Raspberry Pi 4 with OpenGL ES. Applications are written in Python while core rendering runs in compiled C/C++ for responsiveness.
Key features
- GPU-based interface rendering
- High-volume interactive plots
- Node graph editor
- Custom drawing canvas API
- Built-in feature demo
- Runtime metrics and debugger tools
- Theme and style control
- Asynchronous callback support
Use cases
- Internal engineering utilities
- Live data visualization dashboards
- Node-based workflow editors
- Scientific and data science UIs
- Game or simulation control panels