Repolode
hoffstadt

hoffstadt/DearPyGui

A Python GUI toolkit built on Dear ImGui that renders on the GPU, with plotting, node editor and drawing APIs.

Stars
15,654
Forks
790
Open issues
331
Last commit
19 days ago

What is it?

Dear PyGui is a Python GUI framework for building desktop interfaces quickly. It is built on Dear ImGui and uses an immediate-mode model with GPU rendering, with the core written in C/C++ and exposed to Python through a pip-installable package with minimal dependencies.

The toolkit covers common needs for script and tool builders: widgets with full theme and style control, a plotting API (via ImPlot) that can display over one million data points at 60 fps with zoom and pan, and a node editor (via imnodes). A canvas drawing API supports custom drawings and simple 2D games. Asynchronous function support and developer tools such as theme and resource inspection, runtime metrics and a debugger are included.

It runs on Windows 10 (DirectX 11), macOS (Metal), and Linux (OpenGL 3), with Raspberry Pi 4 listed on OpenGL ES. A built-in demo, runnable with python -m dearpygui.demo, shows the available widgets and serves as example code.

Key features

  • 01Theme and style control for a modern look
  • 02GPU-based rendering with C/C++ core
  • 03Plotting API that zooms and pans over large datasets
  • 04Node editor and canvas drawing API
  • 05Built-in demo and developer tools such as debugger and metrics
  • 06Runs on Windows, Linux and macOS

Use cases

  • Adding a quick GUI to a Python script or internal tool
  • Building real-time data visualization dashboards with large datasets
  • Creating node-based editors for graphs or pipelines
  • Prototyping simple 2D games or custom drawing tools in Python

Quick start

  1. 1

    Ensure Python 3.8 64-bit or newer is installed

  2. 2

    Install Dear PyGui from PyPI

    pip install dearpygui
  3. 3

    Run the built-in demo to see all features

    python -m dearpygui.demo

Things to know

  • Requires Python 3.8 or newer in 64-bit form.

In collections

Topics

FAQ

What is DearPyGui?
A Python GUI toolkit built on Dear ImGui that renders on the GPU, with plotting, node editor and drawing APIs. Dear PyGui is a Python GUI framework for building desktop interfaces quickly. It is built on Dear ImGui and uses an immediate-mode model with GPU rendering, with the core written in C/C++ and exposed to Python through a pip-installable package with minimal dependencies.
Is DearPyGui free to use? What license does it have?
DearPyGui is open source under the MIT license. Check the license terms before using it in commercial products.
Is DearPyGui still maintained?
Actively maintained. The last commit to DearPyGui was on Oct 19, 2026.
What can I use DearPyGui for?
Adding a quick GUI to a Python script or internal tool Building real-time data visualization dashboards with large datasets Creating node-based editors for graphs or pipelines Prototyping simple 2D games or custom drawing tools in Python
How do I install DearPyGui?
Ensure Python 3.8 64-bit or newer is installed Install Dear PyGui from PyPI: pip install dearpygui Run the built-in demo to see all features: python -m dearpygui.demo
Where can I get DearPyGui?
The source code and installation instructions are on GitHub: https://github.com/hoffstadt/DearPyGui

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects