(This library is available under a free and permissive license however, if you are using Dear PyGui please consider becoming a Sponsor)
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.
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 |
|----------|---------------|----------------|
| Raspberry Pi 4 | OpenGL ES | |
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.7 64bit.
pip install dearpygui
or
pip3 install dearpygui
Resources
-
User Documentation comprehensive documentation, tutorials, and examples.
-
Development Roadmap major future features and changes.
-
Feature Tracker all proposed new features.
-
Bug Tracker current bugs and issues.
-
Internal Documentation: Run the
show_documentationcommand from within the library to view a reference guide. -
Complete Demo: You can also view a mostly complete showcase of Dear PyGui by running:
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 as 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:
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:
Support
If you are having issues or want to help, here are some places you can go:
Sponsors
Ongoing Dear PyGui development is financially supported by users and private sponsors.
If you enjoy Dear PyGui please consider becoming a sponsor.
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
Release files for dearpygui 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dearpygui-1.5.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| dearpygui-1.5.0-cp310-cp310-manylinux1_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.5+ x86-64 | Details |
| dearpygui-1.5.0-cp310-cp310-macosx_10_6_x86_64.whl | CPython 3.10 | CPython 3.10 | macOS 10.6+ x86-64 | Details |
| dearpygui-1.5.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| dearpygui-1.5.0-cp39-cp39-manylinux1_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.5+ x86-64 | Details |
| dearpygui-1.5.0-cp39-cp39-macosx_10_6_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.6+ x86-64 | Details |
| dearpygui-1.5.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| dearpygui-1.5.0-cp38-cp38-manylinux1_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.5+ x86-64 | Details |
| dearpygui-1.5.0-cp38-cp38-macosx_10_6_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.6+ x86-64 | Details |
| dearpygui-1.5.0-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| dearpygui-1.5.0-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| dearpygui-1.5.0-cp37-cp37m-macosx_10_6_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.6+ x86-64 | Details |
| dearpygui-1.5.0-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| dearpygui-1.5.0-cp36-cp36m-manylinux1_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| dearpygui-1.5.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:35.1 MB
Release files / dearpygui-1.5.0-cp310-cp310-win_amd64.whl
| Download URL | dearpygui-1.5.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b8b4e91b34dd2a233841571511e2b867b175cb3123795c9914152335c27a2f5c
|
|
BLAKE2b-256 checksum How to use checksums |
6c6e98a50a419d76b916eb0f3801f9b61a0848a725352790c3be72449e78828e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp310-cp310-manylinux1_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
a145e05a789b749dad6f253474fd2ccc45754c7a3905462c2c72e233f5d7968f
|
|
BLAKE2b-256 checksum How to use checksums |
3ce65e39014658ced669b49fb0596e132c4a3c922c9d36a3490b2e79c0a1ddee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp310-cp310-macosx_10_6_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
61db1f1b253854c2fedbaa7bf173fffce26b07b22fad3bfabc7b3ff3630b6948
|
|
BLAKE2b-256 checksum How to use checksums |
6caf1e38146bc3a6d30dc12bd5c0f5599e85cd6266359219a7d2d717a878da65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp39-cp39-win_amd64.whl
| Download URL | dearpygui-1.5.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9a08c70cd8b334559c773ac5420abf83a719ddbffe83e2eea0e0b68233f2be20
|
|
BLAKE2b-256 checksum How to use checksums |
918c86e4aaa9b2967df32838ee81ec12840cfd3e7f0c0d4db3f924c676ca2849
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp39-cp39-manylinux1_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
25d475c8a33eceb615a172dfa1ad4d2c7c3fbb0e86ed361ede35fb657968f432
|
|
BLAKE2b-256 checksum How to use checksums |
f213ee521b0f0cc104c6462e53b61f146148861f75f59127d2c438adf0c1f43d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp39-cp39-macosx_10_6_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
c72b4cab0f3e2afb21f61d89b3c52cd8c4002fceb4b319584e1fc9f94e783a37
|
|
BLAKE2b-256 checksum How to use checksums |
d5ee1b2a1fd52e5b162646f18bc490db0389a54ea5f3dd57ffdd42c4863cc15f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp38-cp38-win_amd64.whl
| Download URL | dearpygui-1.5.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3e60a8c5bb884a3b7a35c458a8ef88ece4d7042c290efa9068af4abceaa8dad6
|
|
BLAKE2b-256 checksum How to use checksums |
3c5253d538e7ac4c2f456004811723e213a46182bc7de1f7a9a805b5be80afda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp38-cp38-manylinux1_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
8143372d0272c07aaa4d1dae037f1c5abca60f043c518a4c271acb6ed48bf989
|
|
BLAKE2b-256 checksum How to use checksums |
500af7cb2ff39fde03731771fa59f9fa2b69171e302bd5d13f689e6830c079c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp38-cp38-macosx_10_6_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
797e219034bb5d0d9b627c28449992b7ac47e3f538705ab48d35613a8120a01c
|
|
BLAKE2b-256 checksum How to use checksums |
adca07439afd2b7ea07da7bc4640a4d45be7743f9e65723b91f95efd114fcd91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp37-cp37m-win_amd64.whl
| Download URL | dearpygui-1.5.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 |
53a9eb0c55dbe303961e783f25911ae46e4ee39c3bacf6f59e9a0b62ae754325
|
|
BLAKE2b-256 checksum How to use checksums |
0f82eecc45473e07a65b96a8b3d659fa412c06ec9ce7b21d796a254a48ebd161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
037d3a98ed3a7d794fc39f79d3a553ffabc5f93ea4398b803a4ee9b8b30e1761
|
|
BLAKE2b-256 checksum How to use checksums |
44b219da5bfd67aa7ba61bcea49161da289f739fb3f5347271d9153439f91fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp37-cp37m-macosx_10_6_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
b7048d17766d67e7ad835f2f0430f648df3af26c0f8980916b2a3b8174441b23
|
|
BLAKE2b-256 checksum How to use checksums |
83854bc77c009d27253ceed66473b73fd35d22c5152b26480024244e4eae66f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp36-cp36m-win_amd64.whl
| Download URL | dearpygui-1.5.0-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 |
0cc97c7049a3bbb01794eb6cb5b2021f64287c766e4f4e27a35d15fc490ff016
|
|
BLAKE2b-256 checksum How to use checksums |
6d6a53c3efb40c491ae69c1296ed4f1a4f255386fb0408a496133e3990de8fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
cdf597c862be07d3d6302796c164fc2552109670c1a39c176975fb8c885e9408
|
|
BLAKE2b-256 checksum How to use checksums |
88a482c22314b74c59dc2a3714779a5b2809ffeb30a5465e2a0d853603fa1bef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / dearpygui-1.5.0-cp36-cp36m-macosx_10_6_x86_64.whl
| Download URL | dearpygui-1.5.0-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 |
76115f951e38ff4c0b786c1cecef34f1a14ad09371f548683076b7efb2bccb7d
|
|
BLAKE2b-256 checksum How to use checksums |
6a71aab81c0dc682a68923e53580cf76baa182aaea509f4fa8b6baef4504b936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|