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

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

Download URL dearpygui-1.2.2-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
84ad4aa570a2cf22a8a94b155db02a724b0a8764130821614211a1eb47f484b3
BLAKE2b-256 checksum
How to use checksums
d01cc3de2190e3aa4e49327758ef464252833dd0952de85ca922bdbeb1c364d6
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
ca9b64da63acfe00f517b0c7e41e8d9e53e0fe8f69e235711a5573a6d1b4be92
BLAKE2b-256 checksum
How to use checksums
38261c666d9d514133accfe8479296ba3548f55f63cfa6d186cfb14c99596a5d
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
7ff087c6705c008dd7485b9fbc34162f65761865f101c0587702b66a281c2088
BLAKE2b-256 checksum
How to use checksums
3b2b8e01741a773c115982395150d44e42f5d0b815652beefb570948d80caa2e
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.2-cp39-cp39-win_amd64.whl
Size 1.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
402cc2c319931220c0be7bcf520551c10e365e2ea5794c43b1f493f22edf1b15
BLAKE2b-256 checksum
How to use checksums
c1a1bc0c7161ac3992c8509d9f30daa92541e0e3615c7a847d7e9a1d5f00221f
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
18bb81f71d8fc7d307bd6a3173c833297861c16b9d2a1a8f918d94f1a41c537d
BLAKE2b-256 checksum
How to use checksums
00b37a04061e00f6ad6f94e27afe118a98f2ebd8f6d85fc52bec7f78ebde82b7
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
9362b0e907307299588ccb727d63a9835e23ce362f9b99a6ffb856c3a1ebed22
BLAKE2b-256 checksum
How to use checksums
2b532db651aeeb7b30817de4166af1e61e8150f52eaf5b178dbd121372ffa5b2
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.2-cp38-cp38-win_amd64.whl
Size 1.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
703f977bb8c2a6ebefcfb258de7b8b90abc139d18d71fb814ebe23d7e673161a
BLAKE2b-256 checksum
How to use checksums
326a72e3ff7d22b93a27600acf56ada17fd287f4c5c1c000b58c34f6720a3d3b
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
f6bbeec4cde5c88b7873e16717547b2cfe746c0e42724a156ac175e900eba8cc
BLAKE2b-256 checksum
How to use checksums
6bf858f8569ae716969398a2d3060e1a912f4a7ce02f00af457caef84351a54c
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
4dc204ede72153c43869222d5edd8047caadbb89918497147ce506ac2b427dd7
BLAKE2b-256 checksum
How to use checksums
5175d2924dbb638ccccb3ae744b5e1537f95ead45522b45777e8467e339fb276
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
617a76b2a101fadaf857495deab6900dff6892f0a442b7c2310351b44476a4c7
BLAKE2b-256 checksum
How to use checksums
7d7ed86f9f0911dffd7a41806de428fa23ec45153aaba6e480e1ef066f686fdf
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
b3906de3b1a843fd2a9ce898ac7185d2ae61c124f565cc3716689cc5202d4f85
BLAKE2b-256 checksum
How to use checksums
677b34ab9ff0441d4d55708fdbafbe194a591ec8fafb8c6ee62250f9b1040bca
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
58dacfacab74495c74ffdc75c721bcfb6c82c45470bfa5675ddd7f089cfa0715
BLAKE2b-256 checksum
How to use checksums
e85fa1f44c99bc60e412f56161e041fd3dd746d47602df396afa4af7ba9c3752
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
77e07e37378608e1d56f6507bfeef3bdfe5cabcaed7294a38563bcf45bb2cf88
BLAKE2b-256 checksum
How to use checksums
5ec1b195c8a76f54c364b0b7901d6bba940dfb95f4bfe5d745cfd181d26bcd37
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
4c5b0b69066a4216c3d659798cbc062b5cdff76d47cf16bd93eb1a36ebbdd379
BLAKE2b-256 checksum
How to use checksums
05c317edc519460d8e1bea8498cf8d1903d4043c6d3e0c10575bddcf147f9d45
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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

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

Download URL dearpygui-1.2.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
23dd8cdb58dc7d783f090a1c9e76afce030c9af64e26059827255a3ae1ee1aff
BLAKE2b-256 checksum
How to use checksums
c04b6dc42b13197181db8e0193f578aa24a59054af40e497cb3d61882f71979b
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.27.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.2 This release

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