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.


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.4.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.4.0
File
dearpygui-1.4.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
dearpygui-1.4.0-cp310-cp310-manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details
dearpygui-1.4.0-cp310-cp310-macosx_10_6_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.6+ x86-64 Details
dearpygui-1.4.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
dearpygui-1.4.0-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
dearpygui-1.4.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
dearpygui-1.4.0-cp39-cp39-macosx_10_6_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.6+ x86-64 Details
dearpygui-1.4.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
dearpygui-1.4.0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
dearpygui-1.4.0-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details
dearpygui-1.4.0-cp38-cp38-macosx_10_6_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.6+ x86-64 Details
dearpygui-1.4.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
dearpygui-1.4.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
dearpygui-1.4.0-cp37-cp37m-macosx_10_6_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64 Details
dearpygui-1.4.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
dearpygui-1.4.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
dearpygui-1.4.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: 39.2 MB

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

Download URL dearpygui-1.4.0-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
4b498a5dfaf3eb6484b8a68ff95553f1cd3f319dd80f17a7d20f7df81bde6c16
BLAKE2b-256 checksum
How to use checksums
b8ba4c287738d6851d419e0182c8c61b37352674d9675f14a205424503eb4bfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
cbfe4d5ff2b32db98543803278847a041390bdaeb11a870d423bab586fdec9a6
BLAKE2b-256 checksum
How to use checksums
fb18df9ea2aae67ae321c1f1b0f9e91a07a8e9a4babc50289b315bfb7c2f9bf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
f9bcb72e0eccd09e08e5ae6c2178e2ad1448ffe72272754f9b8a7bdc6feeb364
BLAKE2b-256 checksum
How to use checksums
7a47d7f8b1bad598d575f107e5e8a01e6e555abd4ba6cb83eec0902888d622bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.0-cp39-cp39-win_amd64.whl
Size 1.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
57310a8e16144d63c627b1b38b4984c3ecbb7ff22226cf493329e04c4a628460
BLAKE2b-256 checksum
How to use checksums
56aafd319f102cbb6ba0535d068948543d9820669237304b003195590c9d225c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
6248ea48f7ddcc2e8a99e95948e290fa07e7c9940a575940b09a529354fc4814
BLAKE2b-256 checksum
How to use checksums
fca63b130e64fe3b3882867822fb07e5ad2baefc2f3bd97d283a19f0a9832328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.0-cp39-cp39-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
caf4ab964d72a9f0ba75637c62a9bd627749811f3f73defeaee02983875883bd
BLAKE2b-256 checksum
How to use checksums
fc26cad9ef32055257ff824b631d382d1d2424bd854cbe425a52a21fa406f038
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.4.0-cp39-cp39-macosx_10_6_x86_64.whl

Download URL dearpygui-1.4.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
4dce79119fc86aff285536c5477ba5d3439f69b7ac22577b7b6e5b3a60b67512
BLAKE2b-256 checksum
How to use checksums
7013c1679c9478bd867fd70280d05e82c7e49e0d35c5ec122bc44db2e884584f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.0-cp38-cp38-win_amd64.whl
Size 1.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
53ee74eddf3ab781795a9d6b2c495393da918f6e0f47ad563fda904bcaa21ba8
BLAKE2b-256 checksum
How to use checksums
4438cf1a2d5d8798de1d98dc2e5b04f486a3880c0d7a05fb9d9072148d17a23c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
e8eb856e3ae68b0a5ce2b05abf4bb16533d14bd3e4a140034f6c95d56a33cd8d
BLAKE2b-256 checksum
How to use checksums
8137ebee93d5999c809b4acf7542cb359564f8a2364d8a9ced0b59564433cb1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / dearpygui-1.4.0-cp38-cp38-macosx_11_0_arm64.whl

Download URL dearpygui-1.4.0-cp38-cp38-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
83c013f532f4d48d8f122c4ab3341becc17e97cb09d26c1719def74b6848e35d
BLAKE2b-256 checksum
How to use checksums
73c86d22e78de1bd483be44f8b4d959a2bfbc5d195019049caf8f9d56f8edcdf
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.4.0-cp38-cp38-macosx_10_6_x86_64.whl

Download URL dearpygui-1.4.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
e383c070235f9397b846ee69c3e6b947e21f4bd300e35602004af665453077c0
BLAKE2b-256 checksum
How to use checksums
d86ebd91ba69cd805304c347bc3c11067b5f9ef8ab6ca071f71825d670e1695d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
e559f1039c2252867a5a3ce0b793de8df0405dfa7515525bd85a8df6f9e05da4
BLAKE2b-256 checksum
How to use checksums
c1a020642d7895425f8b72881b7b633fe7dc2c4f98cdfef0a272b33a0c901a98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
213a0c922f25c6bc81e088155063a3abf697a4b747d2c81b8292dc71818705f7
BLAKE2b-256 checksum
How to use checksums
2a27256096006af1828ed0fb3e957ca13530df7449ed72b531c2eaea525e4cc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
05afd4f9e2059002756c2c2a998dadb7bbb9d55b6a761debf0ea8423df362328
BLAKE2b-256 checksum
How to use checksums
7335ccf58b3f96f6a52a3e7b94dffa3e4409ddd8fcc40b6783fa8666d78b1131
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
7956925b6b6381be8251d4edbf4198bcafb5bed22631e400b33457bfd1514679
BLAKE2b-256 checksum
How to use checksums
2db68cd9aae3ceff3d1d7f9dcea05294aa3783cac301ecce29d9488b80027cba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
80247aafcc855f9710ccf3fc40324f8fd04c0568e23ff45fbc2301d150ba47c7
BLAKE2b-256 checksum
How to use checksums
9569eb1e6e0e7aab6ab118ccb97147683c0ca4fd48b637670a132cf413c57d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

Download URL dearpygui-1.4.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
17cda5bc64f8ea006a2158f89a9a21b68839ee546774f51302de0cd08ff48309
BLAKE2b-256 checksum
How to use checksums
f8eb52d287ab3b7cfc47708980de73f0072265926825ad5060477ead19a7c50d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

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

This release

1.4.0 This release

17 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