Skip to main content

DearPyGui: A simple Python GUI Toolkit

Project description

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.7 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 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:


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

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


BasicUsageExample

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

dearpygui-1.5.0-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-1.5.0-cp310-cp310-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10

dearpygui-1.5.0-cp310-cp310-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10macOS 10.6+ x86-64

dearpygui-1.5.0-cp39-cp39-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-1.5.0-cp39-cp39-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9

dearpygui-1.5.0-cp39-cp39-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9macOS 10.6+ x86-64

dearpygui-1.5.0-cp38-cp38-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-1.5.0-cp38-cp38-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8

dearpygui-1.5.0-cp38-cp38-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8macOS 10.6+ x86-64

dearpygui-1.5.0-cp37-cp37m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.5.0-cp37-cp37m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.7m

dearpygui-1.5.0-cp37-cp37m-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ x86-64

dearpygui-1.5.0-cp36-cp36m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.5.0-cp36-cp36m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.6m

dearpygui-1.5.0-cp36-cp36m-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ x86-64

File details

Details for the file dearpygui-1.5.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b8b4e91b34dd2a233841571511e2b867b175cb3123795c9914152335c27a2f5c
MD5 b2e8b25411eb2670bfc031da974689c9
BLAKE2b-256 6c6e98a50a419d76b916eb0f3801f9b61a0848a725352790c3be72449e78828e

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp310-cp310-manylinux1_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.10
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a145e05a789b749dad6f253474fd2ccc45754c7a3905462c2c72e233f5d7968f
MD5 3d2392950f54232a9a7dbabdf35e7acf
BLAKE2b-256 3ce65e39014658ced669b49fb0596e132c4a3c922c9d36a3490b2e79c0a1ddee

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp310-cp310-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp310-cp310-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.10, macOS 10.6+ x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 61db1f1b253854c2fedbaa7bf173fffce26b07b22fad3bfabc7b3ff3630b6948
MD5 ed194381d0cbb665b07da53053cc4c67
BLAKE2b-256 6caf1e38146bc3a6d30dc12bd5c0f5599e85cd6266359219a7d2d717a878da65

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9a08c70cd8b334559c773ac5420abf83a719ddbffe83e2eea0e0b68233f2be20
MD5 101f75ff65594243f843e1c83c84cdb6
BLAKE2b-256 918c86e4aaa9b2967df32838ee81ec12840cfd3e7f0c0d4db3f924c676ca2849

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.9
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 25d475c8a33eceb615a172dfa1ad4d2c7c3fbb0e86ed361ede35fb657968f432
MD5 4e048660c6e3e8f7b0eb5f211ec04815
BLAKE2b-256 f213ee521b0f0cc104c6462e53b61f146148861f75f59127d2c438adf0c1f43d

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp39-cp39-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp39-cp39-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9, macOS 10.6+ x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 c72b4cab0f3e2afb21f61d89b3c52cd8c4002fceb4b319584e1fc9f94e783a37
MD5 b7dbbfbb3b1d4a4f22d43b697b11dadc
BLAKE2b-256 d5ee1b2a1fd52e5b162646f18bc490db0389a54ea5f3dd57ffdd42c4863cc15f

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3e60a8c5bb884a3b7a35c458a8ef88ece4d7042c290efa9068af4abceaa8dad6
MD5 d03c4a0895b4ec49ca25ced61f8f6536
BLAKE2b-256 3c5253d538e7ac4c2f456004811723e213a46182bc7de1f7a9a805b5be80afda

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.8
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8143372d0272c07aaa4d1dae037f1c5abca60f043c518a4c271acb6ed48bf989
MD5 cfc2adef2e0bb8a73e25c24fac5e460d
BLAKE2b-256 500af7cb2ff39fde03731771fa59f9fa2b69171e302bd5d13f689e6830c079c2

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp38-cp38-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp38-cp38-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.8, macOS 10.6+ x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 797e219034bb5d0d9b627c28449992b7ac47e3f538705ab48d35613a8120a01c
MD5 30886d955db0d00ba82522ee2967b563
BLAKE2b-256 adca07439afd2b7ea07da7bc4640a4d45be7743f9e65723b91f95efd114fcd91

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 53a9eb0c55dbe303961e783f25911ae46e4ee39c3bacf6f59e9a0b62ae754325
MD5 fffdbd90174c30e96380a1ce7934821f
BLAKE2b-256 0f82eecc45473e07a65b96a8b3d659fa412c06ec9ce7b21d796a254a48ebd161

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.7m
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 037d3a98ed3a7d794fc39f79d3a553ffabc5f93ea4398b803a4ee9b8b30e1761
MD5 c1f310bf3b6cdc0de4d0d1234c7c4578
BLAKE2b-256 44b219da5bfd67aa7ba61bcea49161da289f739fb3f5347271d9153439f91fc4

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp37-cp37m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp37-cp37m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7m, macOS 10.6+ x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 b7048d17766d67e7ad835f2f0430f648df3af26c0f8980916b2a3b8174441b23
MD5 a8cf6040eeacb36375bafa113cb9d028
BLAKE2b-256 83854bc77c009d27253ceed66473b73fd35d22c5152b26480024244e4eae66f6

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0cc97c7049a3bbb01794eb6cb5b2021f64287c766e4f4e27a35d15fc490ff016
MD5 3f3673b1243f9854fb9e4a3ca67a500e
BLAKE2b-256 6d6a53c3efb40c491ae69c1296ed4f1a4f255386fb0408a496133e3990de8fe9

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.6m
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cdf597c862be07d3d6302796c164fc2552109670c1a39c176975fb8c885e9408
MD5 7cc1dd83808b9b81e55a26047a7b7c19
BLAKE2b-256 88a482c22314b74c59dc2a3714779a5b2809ffeb30a5465e2a0d853603fa1bef

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.0-cp36-cp36m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.5.0-cp36-cp36m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6m, macOS 10.6+ x86-64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.5.0-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 76115f951e38ff4c0b786c1cecef34f1a14ad09371f548683076b7efb2bccb7d
MD5 3750d2cca5d7d88b43572c60b9b66b10
BLAKE2b-256 6a71aab81c0dc682a68923e53580cf76baa182aaea509f4fa8b6baef4504b936

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page