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.


BasicUsageExample

Release files for dearpygui 1.2

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

Total release size: 37.2 MB

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

Download URL dearpygui-1.2-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
ad1bbbcbf4070ddc4539fed84b93a5d5f35418c089faf38303319b36a8fec553
BLAKE2b-256 checksum
How to use checksums
8b696514e734541072aff0a963b852f3c359982c27f2eafe88f345cefc662fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp310-cp310-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
368f246848057f913a974291eece6cb5bee3e6c6840e621c05129d8f8a2b1cd8
BLAKE2b-256 checksum
How to use checksums
c20dccb81ca2a9e7b487749bf9ac1b9a876d2a906bd5f86b337383d355a266d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp310-cp310-macosx_10_6_x86_64.whl
Size 2.6 MB
Tags CPython 3.10 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
a15de4fd6fbce2c75070fcb1f54ab7e0d126e1443d2f43ccdc989fbdafacf66d
BLAKE2b-256 checksum
How to use checksums
90e7775ff3760faa5f9291e63bf90e57d8235f3fbf29514858c15eb2a430ed2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp39-cp39-win_amd64.whl
Size 1.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
f2c38946cdbe4732dc2abf910b7d30a30545a4fb6db99980b8a4e5b7180ceba8
BLAKE2b-256 checksum
How to use checksums
efa0f217718c85959ceadd5eaea64bd862e5175524c7cce77cba341d613b5fbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp39-cp39-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
4e1d7ca009fe2fd4b01685b582ced9b75dc678d1e11669c4d99566d4b9500853
BLAKE2b-256 checksum
How to use checksums
ac64a0bfd9a1d4656cf07d623ebe804b2394625b79b69cf49e3cd75f97dd29f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp39-cp39-macosx_10_6_x86_64.whl
Size 2.6 MB
Tags CPython 3.9 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
2463d4783b617805f16722225b2f3ae70577dd72e58ad07ce604e325a75d8b47
BLAKE2b-256 checksum
How to use checksums
d59d86963f742dabc82efcaadb2f2982aa76e3f7932225fc5887e64a83672326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp38-cp38-win_amd64.whl
Size 1.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
d39f9af637a6f08fa26546b9e96da0c42aea93c742c3496fe7f9d6c66bea83b8
BLAKE2b-256 checksum
How to use checksums
9bb069c0abbf0175d042219f200a8d1bf3b0ab0b3e852582e5d611f2168afbc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp38-cp38-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
abed99ac472c7d9814902a1f7830fe4554e80c1fd24f6630e79ac861ef2f6255
BLAKE2b-256 checksum
How to use checksums
4240ae44b1773b0ee32422d5a0f5f6bfba13944e725c81e14bbb22bde9db1c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp38-cp38-macosx_10_6_x86_64.whl
Size 2.6 MB
Tags CPython 3.8 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
6ecc72e6ac02b448f139731456b648c99d9bc018a6789f9cd6b290c0ac585567
BLAKE2b-256 checksum
How to use checksums
2c1c68eb575f3ea33c33ef7905e261b27bd75a3334c33ebd1e56ead636ec6733
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-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
264fe2952957e3f39db36083ee9a27bc0f757b15215d6f24aac076440c0366a5
BLAKE2b-256 checksum
How to use checksums
3725ab51052697d4c4fa53ed8c903e6fc0110826ee1d6c2fce7cba24ad4a872d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp37-cp37m-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
14668efdd5f57a2067ba7cfb5cd12353758825bfd854e889bccacd9d65ab34ff
BLAKE2b-256 checksum
How to use checksums
17a2d128d6af0b384a93e68b169f010b2e3ce9f4ed91a15e89e4372e31c4fade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp37-cp37m-macosx_10_6_x86_64.whl
Size 2.6 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
2c4d2c88102f8df934611af9111ac3d3d82218e62b274963ecaa72ea219acd63
BLAKE2b-256 checksum
How to use checksums
2fcf9dcff9509c1951bc431aeeac5afa9c0b2636098066c634c41eafbaab156e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp37-cp37m-linux_armv7l.whl
Size 2.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc linux armv7l
SHA-256 checksum
How to use checksums
83bc7a712a7be2d0de4825ae5d950140dbe293be4f25dd8095808f4abaaaf6a3
BLAKE2b-256 checksum
How to use checksums
7721456d48d0c56dd97c2a2e850c084add20ffb060c95d73f4714776c10395ef
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.2-cp36-cp36m-win_amd64.whl

Download URL dearpygui-1.2-cp36-cp36m-win_amd64.whl
Size 1.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c8c4f6bf0740879952c25df5b7cac811742d0f48a8ea5c1decd8183a481a00fe
BLAKE2b-256 checksum
How to use checksums
6851f959cf33f6cee572bad7a8ca87795dc0be33f2d9125e5bac5375f6332f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp36-cp36m-manylinux1_x86_64.whl
Size 2.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
9f13fbe0e71fdf0e062085a1566ebf034a3c560d5f9b9094a32278431d5c730f
BLAKE2b-256 checksum
How to use checksums
1d3e5ca17f3f3d56f82fe71561910106f9ee9264e5fb6bd73c51efc5d021f62e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2-cp36-cp36m-macosx_10_6_x86_64.whl
Size 2.6 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
734db3003b381b1b27eac2a3eaea51b5607bafb33b8613625a499080b6e4c5b6
BLAKE2b-256 checksum
How to use checksums
c83f783d7dd5e51cbb3f885c30f2e8c525c867bfd8a82fa95cca4f7fcad375ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

This release

1.2 This release

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