Skip to main content


Dear PyGui logo

A modern, fast and powerful GUI framework for Python

Python versions PYPI Downloads MIT License

static-analysis static-analysis Deployment Documentation Status

Features • Installation • How To Use • Demo • Resources • Support • Tech stack • Credits • License • Gallery


Themes

Features

  • Modern look — Complete theme and style control
  • Great performance — GPU-based rendering and efficient C/C++ code
  • Stable operation — Asynchronous function support
  • Fast graphs — Display over 1 million datapoints at 60 fps, zoom and pan
  • Node editor — Intuitive user interaction
  • Built-in demo — Quickly learn all features
  • Developer tools — Theme and resource inspection, runtime metrics, debugger
  • Cross-platform — Windows, Linux, MacOS
  • MIT license

        

        

Installation

Ensure you have at least Python 3.7 64bit.

pip install dearpygui
or
pip3 install dearpygui

How to use?

Using Dear PyGui is as simple as the following Python script.

import dearpygui.dearpygui as dpg

def save_callback():
    print("Save Clicked")

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="Example Window"):
    dpg.add_text("Hello world")
    dpg.add_button(label="Save", callback=save_callback)
    dpg.add_input_text(label="string")
    dpg.add_slider_float(label="float")

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

Dear PyGui example window

Demo

The built-in demo shows all of Dear PyGui's functionality. Use this code to run the demo. The following impression shows a few, but not nearly all, of the available widgets and features. Since the Python code of the demo can be inspected, you can leverage the demo code to build your own apps.

Dear PyGui demo

Resources

Support

If you are having issues or want to help, here are some places you can go.

Chat on Discord       Reddit

Tech stack

Dear PyGui is built on top of Dear ImGui, including the ImPlot and imnodes extensions, and is fundamentally different than other Python GUI frameworks. Under the hood, it uses the immediate mode paradigm and your computer's GPU to facilitate extremely dynamic interfaces. In the same manner Dear ImGui provides a simple way to create tools for game developers, Dear PyGui provides a simple way for python developers to create quick and powerful GUIs for scripts. Dear PyGui is written in C/C++ resulting in highly performant Python applications. Dear PyGui is currently supported on the following platforms.

Platform Graphics API Newest Version
Windows 10 DirectX 11 PYPI
macOS Metal PYPI
Linux OpenGL 3 PYPI
Raspberry Pi 4 OpenGL ES PYPI

Credits

License

Dear PyGui is licensed under the MIT License.

Sponsor

Continued maintenance and development are a full-time endeavor which we would like to sustain and grow. Ongoing development is financially supported by users and private sponsors. If you enjoy Dear PyGui please consider becoming a sponsor or buy us a cup of coffee.

     

Plotting/Graphing

Dear PyGui includes a plotting API built with ImPlot

        

        

        

        

Node Editor

Dear PyGui includes a node editor built with imnodes

Canvas

Dear PyGui includes a drawing API to create custom drawings, plot, and even 2D games.


BasicUsageExample

Release files for dearpygui 1.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for dearpygui 1.9.0
File
dearpygui-1.9.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
dearpygui-1.9.0-cp311-cp311-manylinux1_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64 Details
dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
dearpygui-1.9.0-cp311-cp311-macosx_10_6_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.6+ x86-64 Details
dearpygui-1.9.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
dearpygui-1.9.0-cp310-cp310-manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details
dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
dearpygui-1.9.0-cp310-cp310-macosx_10_6_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.6+ x86-64 Details
dearpygui-1.9.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
dearpygui-1.9.0-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
dearpygui-1.9.0-cp39-cp39-macosx_10_6_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.6+ x86-64 Details
dearpygui-1.9.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
dearpygui-1.9.0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
dearpygui-1.9.0-cp38-cp38-macosx_10_6_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.6+ x86-64 Details
dearpygui-1.9.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
dearpygui-1.9.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
dearpygui-1.9.0-cp37-cp37m-macosx_10_6_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64 Details

Total release size: 39.6 MB

Release files / dearpygui-1.9.0-cp311-cp311-win_amd64.whl

Download URL dearpygui-1.9.0-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2a32cc4b688950b9295cb2c867824d5514a5cf9a87a19981c2cd386881deaf34
BLAKE2b-256 checksum
How to use checksums
cbe02039a93a6247160d675eb5fad166f18f06fa767548b9978cb824db8b7b5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp311-cp311-manylinux1_x86_64.whl

Download URL dearpygui-1.9.0-cp311-cp311-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.11 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a9e99b87f60d19a59c2eac8bf910fb6418ff0eed0242a88f47839c17e1f064fb
BLAKE2b-256 checksum
How to use checksums
569d7cb435d205f7f51fedb362010b8555f035664c098d423157378745664f1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
253fbc867faceebee907ee66685079a69043fb14c4878e1df4916e9fc2e53fe3
BLAKE2b-256 checksum
How to use checksums
2f3a582da1bcfa176fc1f76f6fe83198964606dd73a2c953f0bd07d7fbcc45b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / dearpygui-1.9.0-cp311-cp311-macosx_10_6_x86_64.whl

Download URL dearpygui-1.9.0-cp311-cp311-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
eae0e458d49570f00da52e2e08511a37af81e4cc72736ae92ae335ba9cf779c4
BLAKE2b-256 checksum
How to use checksums
0359f12f02c60cb60c440c503b7fe8c2c34dd77fd705669acf8a3cf13c03a6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp310-cp310-win_amd64.whl

Download URL dearpygui-1.9.0-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5c1e89cda2c34a3bb75caa4b36c3318c307af9592ea341b231260d739cc838a7
BLAKE2b-256 checksum
How to use checksums
3bfe9d7399b98d110299d3edae48e5d59b7712854c5815c523fb394737038672
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp310-cp310-manylinux1_x86_64.whl

Download URL dearpygui-1.9.0-cp310-cp310-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
99ad6c07dc8243152d65bbfab4d1afa7e4157b76f70134e7c515990a5718bb2d
BLAKE2b-256 checksum
How to use checksums
106b23f2630377e62ef91e55969937d4110a921755f0264d1d0a0088311abeb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
85bbccf1e55e75d78783ce85a00937f95a974b1fb2a6522dd8217b9926ab7bf8
BLAKE2b-256 checksum
How to use checksums
de78756707cd8eac3f9dd6eb7d9d25ac96176e026c5e02844b0a2132e44a6d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / dearpygui-1.9.0-cp310-cp310-macosx_10_6_x86_64.whl

Download URL dearpygui-1.9.0-cp310-cp310-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
0634cc8edbed199a1b76a6b8b92fe20c848649d14a13561c9043fb845f07cb13
BLAKE2b-256 checksum
How to use checksums
7d96d541e4f3f45578fdc98b792a265f532f6bc2ff05f2b60793cd1613298e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp39-cp39-win_amd64.whl

Download URL dearpygui-1.9.0-cp39-cp39-win_amd64.whl
Size 1.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
73111349e1eceac8cd647fca68921ef3804e8517818a657d6ed71013799efdee
BLAKE2b-256 checksum
How to use checksums
a2b67ffdb498f35e81daacf51bbb03e56a27aa49f6d87796c1b7b86846097cbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp39-cp39-manylinux1_x86_64.whl

Download URL dearpygui-1.9.0-cp39-cp39-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3fea90197da90fa44af26a82a462556079ae1171a4a2e3406c6da8892f01ad34
BLAKE2b-256 checksum
How to use checksums
3a263b360fc565d4f630d24be1a9bdb7190eb3847c30a8d13bd63d8cc91a6be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dc36060b330970346bfcc2a019640e827c62877bab3a119078f78b416c52b3fb
BLAKE2b-256 checksum
How to use checksums
f03c35925d48df337c7fb36bdbf6c3dd70b00e42150c5e522987146fad3bc04c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / dearpygui-1.9.0-cp39-cp39-macosx_10_6_x86_64.whl

Download URL dearpygui-1.9.0-cp39-cp39-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.9 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
3faa1a34f82a792afbe998b9bf7f21378c774b84a8945072ffdcaad9bf3867f8
BLAKE2b-256 checksum
How to use checksums
391dca6b5920e376f54abbaca522a757a20f1ef49b436ac0149134f8f64bd41b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp38-cp38-win_amd64.whl

Download URL dearpygui-1.9.0-cp38-cp38-win_amd64.whl
Size 1.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
1daad9f62cba3835bbd2cd87a5d5c3bf062b21aee575f34666e21071ef74e934
BLAKE2b-256 checksum
How to use checksums
08ea53bcda4f208865ef4f1b2055623b8543886188e89fca1eeda242e1a87ab1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp38-cp38-manylinux1_x86_64.whl

Download URL dearpygui-1.9.0-cp38-cp38-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
94b62a219e6b73f0ac8625f30c1635d3c24823e83c4449ee50862ab860c0ba04
BLAKE2b-256 checksum
How to use checksums
c8f4203674570bb101ed3f12013e7c7de6bc8b104b280166e75663861ee93920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp38-cp38-macosx_10_6_x86_64.whl

Download URL dearpygui-1.9.0-cp38-cp38-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.8 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
6f51153f044fbbaa17645647c79725c3f3f5b11ea982e9cf00773ebed56d26c8
BLAKE2b-256 checksum
How to use checksums
afe876c8d8ce7b5049acfd455338fcf2838ba5b1d445298838831eedb34ca0cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp37-cp37m-win_amd64.whl

Download URL dearpygui-1.9.0-cp37-cp37m-win_amd64.whl
Size 1.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
70e717976d58ff961608c2e926a3eb05feb8716d2e7320084935b824bc87635e
BLAKE2b-256 checksum
How to use checksums
67d04d91b35832e6dc25682d28bdd6be5c26aff9ef6a29cd5ed70f7c91b0503b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL dearpygui-1.9.0-cp37-cp37m-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
532a16aed78d7151b93d849d3587c28e1c6bc592c0831b25ea77f52637e54a41
BLAKE2b-256 checksum
How to use checksums
aea9fe38c8cdf10114d7822760983307661c798977fc026a4009bb48216f04be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / dearpygui-1.9.0-cp37-cp37m-macosx_10_6_x86_64.whl

Download URL dearpygui-1.9.0-cp37-cp37m-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
9586f8905f645744c034538f851abeb53a7311048d9daf9734228d95f8d75ce5
BLAKE2b-256 checksum
How to use checksums
0db1b91a0fc1e702a4b23607a9543346df3700e376beabb15d9f9963180ddec2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

2.3

26 release files

2.2

19 release files

2.1.1

26 release files

2.0.0

22 release files

This release

1.9.0 This release

18 release files

1.8.0

18 release files

1.7.3

14 release files

1.7.2

14 release files

1.7.1

14 release files

1.6.1

14 release files

1.6.0

15 release files

1.5.0

15 release files

1.3.1

17 release files

1.3.0

15 release files

1.2

16 release files

1.1.3

15 release files

1.1.1

16 release files

1.1

16 release files

1.0.2

16 release files

1.0.1

16 release files

1.0.0

16 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page