Skip to content

Dear PyGui

A Python toolkit for building fast graphical desktop interfaces, built on Dear ImGui.

Stars
15.7k
Forks
789
Licence
MIT
Language
C++
Last update
17 days ago
Type
Library

What it is

Dear PyGui is a graphical user interface toolkit for Python that lets you build windows, buttons, text inputs, sliders and plots from ordinary Python code. It is built on the Dear ImGui library and its C/C++ core, and the README says it uses the GPU for rendering. People use it to quickly make tools and control panels for scripts.

  • Build a small window with a button, text field and slider that runs a Python callback
  • Plot large datasets, the README cites over 1 million datapoints at 60 fps with zoom and pan
  • Create a node-based editor using the built-in node editor widget
  • Explore all available widgets by running the built-in demo

Great for

  • Python developers who want a desktop GUI for a script or internal tool
  • Projects that need fast, data-heavy graphs or plots
  • Developers who want theme and style control over their interface
  • Anyone who wants to learn from the built-in demo and example code

Not ideal for

  • People who need a native-looking app with standard OS widgets, since the README describes a custom immediate-mode look
  • Web-based or mobile projects, because the README lists only Windows, Linux and macOS (plus Raspberry Pi 4)
Step-by-step guide: how to use Dear PyGuiInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    You'll need: Python 3.8 64-bit or newer

    Install Dear PyGui

    pip install dearpygui

    Alternative for systems where pip points to Python 3

    pip3 install dearpygui
  2. 2

    Run it

    • Install with pip install dearpygui
    • Run the built-in demo with python -m dearpygui.demo
    • Copy the example script from the README into a file and run it
    • Click Save in the example window to see the callback print in the terminal
  3. 3

    Get the most out of it

    • Read the built-in demo source (dearpygui/demo.py) to learn widget usage
    • Use the documentation and tutorials linked from the README
    • Browse the community showcase and useful tools wiki pages linked in the README
    • Check the FAQ and discussions for common questions

Downloads

Strengths

  • Installs with a single pip command and the README notes minimal dependencies
  • Includes a built-in demo and inspectable demo source code
  • Released under the permissive MIT license

Trade-offs

  • The README is short on API detail, so you will rely on external docs and the demo to learn it
  • Its immediate-mode, GPU-rendered look differs from typical Python GUI frameworks
  • Requires Python 3.8 64-bit or newer per the README

How it compares

ProjectStarsTypeLevelUpdatedBest for
DearPyGui (this)15.7kLibrarybeginner17 days agoPython developers who want a desktop GUI for a script or internal tool
kivy19kFrameworkintermediate4 days agoPython developers who want one codebase for desktop and mobile apps
imgui76.9kLibraryintermediate6 days agoGame developers who want an in-engine debug or tools panel
iced31.9kLibraryintermediate4 days agoRust developers building a desktop GUI application
lvgl25.1kLibraryintermediate4 days agoEngineers adding a touchscreen or display UI to an embedded device
webview14.3kLibraryintermediate15 days agoC or C++ developers who want an HTML-based GUI without bundling a full browser framework

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.