Skip to main content
Dear PyGui
(This library is available under a free and permissive license however, if you are using Dear PyGui please consider becoming a Sponsor)

Python Version

PYPI

Downloads

build status

static-analysis

Deployment

Documentation Status

Dear PyGui is a simple to use (but powerful) Python GUI framework. Dear PyGui is NOT a wrapping of Dear ImGui in the normal sense. It is a library built with Dear ImGui which creates a unique retained mode API (as opposed to Dear ImGui's immediate mode paradigm).


Themes

Dear PyGui is fundamentally different than other Python GUI frameworks. Under the hood, Dear PyGui

uses the immediate mode paradigm and your computer's GPU to facilitate extremely dynamic interfaces. 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 |

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.

| Installation - Usage - Resources - Support |

:----------------------------------------------------------: |

| Features - Sponsors - Credits - License - Gallery |

Installation

Ensure you have at least Python 3.6 64bit.


pip install dearpygui

or

pip3 install dearpygui

Resources

Chat on Discord

Reddit

import dearpygui.dearpygui as dpg

from dearpygui.demo import show_demo



dpg.create_context()

dpg.create_viewport()

dpg.setup_dearpygui()



show_demo()



dpg.show_viewport()

dpg.start_dearpygui()

dpg.destroy_context()

Usage

Using Dear PyGui is a simple as creating a python script like the one below:

Code:

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()

Result:


BasicUsageExample

Features

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.

Tools

Dear PyGui includes several tools to help developers with DearPyGui app development:


BasicUsageExample

Support

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

Sponsors

GitHub Sponsors

Open Collective

If you enjoy Dear PyGui please consider becoming a sponsor.

Ongoing Dear PyGui development is financially supported by users and private sponsors.

These include:

Thank you to all other sponsors for keeping this project moving forward!

Credits

Developed by Jonathan Hoffstadt, Preston Cothren, and every direct or indirect contributor.

Omar Cornut for all his incredible work on Dear ImGui.

Evan Pezent for all his work on ImPlot.

Johann Muszynski for all of his work on imnodes.

License

Dear PyGui is licensed under the MIT License.

Gallery


BasicUsageExample

Release files for dearpygui 1.0.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.0.0
File
dearpygui-1.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
dearpygui-1.0.0-cp310-cp310-manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details
dearpygui-1.0.0-cp310-cp310-macosx_10_6_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.6+ x86-64 Details
dearpygui-1.0.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
dearpygui-1.0.0-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
dearpygui-1.0.0-cp39-cp39-macosx_10_6_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.6+ x86-64 Details
dearpygui-1.0.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
dearpygui-1.0.0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
dearpygui-1.0.0-cp38-cp38-macosx_10_6_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.6+ x86-64 Details
dearpygui-1.0.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
dearpygui-1.0.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
dearpygui-1.0.0-cp37-cp37m-macosx_10_6_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64 Details
dearpygui-1.0.0-cp37-cp37m-linux_armv7l.whl CPython 3.7 CPython 3.7 pymalloc linux armv7l Details
dearpygui-1.0.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
dearpygui-1.0.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
dearpygui-1.0.0-cp36-cp36m-macosx_10_6_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ x86-64 Details

Total release size: 428.5 MB

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

Download URL dearpygui-1.0.0-cp310-cp310-win_amd64.whl
Size 1.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6b2a8b65fa4ec4e6916b3fc3ed9cd02af6282ba167ce514e142201e0a8f7a3e9
BLAKE2b-256 checksum
How to use checksums
7d0986467db1201c17149da49c36ef950debd4de86738a5d5b9bd7bcb598c78c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp310-cp310-manylinux1_x86_64.whl
Size 80.5 MB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a07a363201d85fd7d1bd85c379cb5f9794cd46b2fc20be6232b0fd9fc7d40d96
BLAKE2b-256 checksum
How to use checksums
62a610b781a8c0adbb6f816df507748efdaabb2bd563098d025985d475a09bd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp310-cp310-macosx_10_6_x86_64.whl
Size 2.9 MB
Tags CPython 3.10 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
6138477f9d7393859f4e19f8a8a5c8b6dd9e077fccd3358f286da317b2b4a7a6
BLAKE2b-256 checksum
How to use checksums
bcdc11c639b45531e4008fd4139de9cccba14a5d6a979d7aa79e8c4263341264
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp39-cp39-win_amd64.whl
Size 1.8 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
33bafba40691c300ea43a64e71715c30e7b55a5cbd3fd8406a8255eaeaf66171
BLAKE2b-256 checksum
How to use checksums
dbeb88c1bef6743dae88c9cc352c2186adaab09a6303e3d566fd81a885391142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp39-cp39-manylinux1_x86_64.whl
Size 80.5 MB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
da884988ebc07b3a7ba6223f0b92cbb98b312ab27e22a0ae86933bc13c757be2
BLAKE2b-256 checksum
How to use checksums
c084ea84dd0bb9df4ee6c6c6802033281c6f3657f2e2be5a82c89c62815eab85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp39-cp39-macosx_10_6_x86_64.whl
Size 2.9 MB
Tags CPython 3.9 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
bfbf2ef0532b2bad8647e1cf78cc0983325067d340fb78c41d92c6e1fc1553c8
BLAKE2b-256 checksum
How to use checksums
a5fe8492f1643de8b73939f6cb2d378d632c825fa7c176d0f541c1777931b0d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp38-cp38-win_amd64.whl
Size 1.8 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
faae6f3aa09ba097fb8034b1ad729dd5e217db8a0aef1d740388c3910a13e8c3
BLAKE2b-256 checksum
How to use checksums
9f17a2ab658a4bb84b6dc0aa4d0f01c05c5e1b3bbbfa8aee68d708deb92e15b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp38-cp38-manylinux1_x86_64.whl
Size 80.5 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
bba557ec1d8b71c45f1bb691d93bcbee85d1e0f16b6bc3af2189cbd86b8c74cd
BLAKE2b-256 checksum
How to use checksums
ca92501fdb48903399546ce353f16f3820b6a7ac46576c6e230f8829257d4fe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp38-cp38-macosx_10_6_x86_64.whl
Size 2.9 MB
Tags CPython 3.8 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
e116c07e1f378c9a9b767fa097ca7b6b500bf4378c93b9eba4f23a936a6f9e1b
BLAKE2b-256 checksum
How to use checksums
23895130620d0601b611c37faafac4dc7df7c35ee13fbc8ddfd217fdac6749ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp37-cp37m-win_amd64.whl
Size 1.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
85007e3003ae7948514cd095fcf916eb7610674a93431d0fbdbe5f75333d7a0a
BLAKE2b-256 checksum
How to use checksums
d4a8d448ab3eac6700d0dd7eaf86170e5e0a8f2f89bcb9520cc0ef529a1ca5e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
Size 80.6 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
6fd15c7476ae5d712254bcd3146e3fa0c3f42e41d5c35415c7f4262867621ed4
BLAKE2b-256 checksum
How to use checksums
3e4a2a5bea7a004081129bf6bfad65145d20584dad1b7b60b8c71fc84200eef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL dearpygui-1.0.0-cp37-cp37m-macosx_10_6_x86_64.whl
Size 2.9 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
8458a6bc0b17914c19a0e0ee0a07566c1db67da0505413abd01eef3376531a49
BLAKE2b-256 checksum
How to use checksums
373f8b5d69f606e5eeb3353f8bfcbcb018284e1f03a5acb3971acc593d11d327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / dearpygui-1.0.0-cp37-cp37m-linux_armv7l.whl

Download URL dearpygui-1.0.0-cp37-cp37m-linux_armv7l.whl
Size 2.6 MB
Tags CPython 3.7 CPython 3.7 pymalloc linux armv7l
SHA-256 checksum
How to use checksums
a9788cb9cc176d4e0c4f0266ff93e40c53022dab99c4fdbe01c458c2a2ee75cd
BLAKE2b-256 checksum
How to use checksums
e167f6fb926eefd15070b50cd1b2b1ca8d9a3f3769e68c64ffda43c5b4068a3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

Release files / dearpygui-1.0.0-cp36-cp36m-win_amd64.whl

Download URL dearpygui-1.0.0-cp36-cp36m-win_amd64.whl
Size 1.8 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a48bc22f91b37f28075808fd4561c1ca0426c583ed37371db5ea9c27a4d6b392
BLAKE2b-256 checksum
How to use checksums
d3b53ab7435ac8e1163eb6a9aa24af2102950fa83abe1d67329fb5bae1dbdde7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / dearpygui-1.0.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL dearpygui-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
Size 80.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
52d998b38e877fce676da6f3b341e58b2e4d44732f593d601a36c1223053073d
BLAKE2b-256 checksum
How to use checksums
5a7a32845d0e72c18ad664ff0bf3666fa8892c758f183e97ffba960bc104828b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / dearpygui-1.0.0-cp36-cp36m-macosx_10_6_x86_64.whl

Download URL dearpygui-1.0.0-cp36-cp36m-macosx_10_6_x86_64.whl
Size 2.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
c457acb4444d8f43aeafbdf919278add1288cc7a190be65831f65d6b30c44e97
BLAKE2b-256 checksum
How to use checksums
bbfc32f05674c0baedaf3ef261266cfd63832d93e54a56f9b8c1d5efc96a57be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

1.9.0

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

This release

1.0.0 This release

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