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

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.0.0-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-1.0.0-cp310-cp310-manylinux1_x86_64.whl (80.5 MB view details)

Uploaded CPython 3.10

dearpygui-1.0.0-cp310-cp310-macosx_10_6_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10macOS 10.6+ x86-64

dearpygui-1.0.0-cp39-cp39-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-1.0.0-cp39-cp39-manylinux1_x86_64.whl (80.5 MB view details)

Uploaded CPython 3.9

dearpygui-1.0.0-cp39-cp39-macosx_10_6_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9macOS 10.6+ x86-64

dearpygui-1.0.0-cp38-cp38-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-1.0.0-cp38-cp38-manylinux1_x86_64.whl (80.5 MB view details)

Uploaded CPython 3.8

dearpygui-1.0.0-cp38-cp38-macosx_10_6_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.8macOS 10.6+ x86-64

dearpygui-1.0.0-cp37-cp37m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.0.0-cp37-cp37m-manylinux1_x86_64.whl (80.6 MB view details)

Uploaded CPython 3.7m

dearpygui-1.0.0-cp37-cp37m-macosx_10_6_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ x86-64

dearpygui-1.0.0-cp37-cp37m-linux_armv7l.whl (2.6 MB view details)

Uploaded CPython 3.7m

dearpygui-1.0.0-cp36-cp36m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.0.0-cp36-cp36m-manylinux1_x86_64.whl (80.5 MB view details)

Uploaded CPython 3.6m

dearpygui-1.0.0-cp36-cp36m-macosx_10_6_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6b2a8b65fa4ec4e6916b3fc3ed9cd02af6282ba167ce514e142201e0a8f7a3e9
MD5 8c8554e7f7e2485e6e188b4354496d6f
BLAKE2b-256 7d0986467db1201c17149da49c36ef950debd4de86738a5d5b9bd7bcb598c78c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 80.5 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a07a363201d85fd7d1bd85c379cb5f9794cd46b2fc20be6232b0fd9fc7d40d96
MD5 c3d4f95f8a278d1e2215d7ca1ff606b6
BLAKE2b-256 62a610b781a8c0adbb6f816df507748efdaabb2bd563098d025985d475a09bd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp310-cp310-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.10, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 6138477f9d7393859f4e19f8a8a5c8b6dd9e077fccd3358f286da317b2b4a7a6
MD5 1823eac6b205f4f4a89588b272c79c38
BLAKE2b-256 bcdc11c639b45531e4008fd4139de9cccba14a5d6a979d7aa79e8c4263341264

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 33bafba40691c300ea43a64e71715c30e7b55a5cbd3fd8406a8255eaeaf66171
MD5 5f6042f4b46b60c2521247fc87c8885a
BLAKE2b-256 dbeb88c1bef6743dae88c9cc352c2186adaab09a6303e3d566fd81a885391142

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 80.5 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 da884988ebc07b3a7ba6223f0b92cbb98b312ab27e22a0ae86933bc13c757be2
MD5 3b797a4ee4d38cf06890323f006355e3
BLAKE2b-256 c084ea84dd0bb9df4ee6c6c6802033281c6f3657f2e2be5a82c89c62815eab85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp39-cp39-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.9, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 bfbf2ef0532b2bad8647e1cf78cc0983325067d340fb78c41d92c6e1fc1553c8
MD5 927f5cbda5029772446ff26c9f278214
BLAKE2b-256 a5fe8492f1643de8b73939f6cb2d378d632c825fa7c176d0f541c1777931b0d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 faae6f3aa09ba097fb8034b1ad729dd5e217db8a0aef1d740388c3910a13e8c3
MD5 b2e37d354fb1af9f29b249ca0c613070
BLAKE2b-256 9f17a2ab658a4bb84b6dc0aa4d0f01c05c5e1b3bbbfa8aee68d708deb92e15b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 80.5 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bba557ec1d8b71c45f1bb691d93bcbee85d1e0f16b6bc3af2189cbd86b8c74cd
MD5 de9241dc63517223e94646c05295c0da
BLAKE2b-256 ca92501fdb48903399546ce353f16f3820b6a7ac46576c6e230f8829257d4fe3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp38-cp38-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.8, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e116c07e1f378c9a9b767fa097ca7b6b500bf4378c93b9eba4f23a936a6f9e1b
MD5 cba2a167df24e6f9981d0d8118f79349
BLAKE2b-256 23895130620d0601b611c37faafac4dc7df7c35ee13fbc8ddfd217fdac6749ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 85007e3003ae7948514cd095fcf916eb7610674a93431d0fbdbe5f75333d7a0a
MD5 0e488df893413996654c83a0af52efdc
BLAKE2b-256 d4a8d448ab3eac6700d0dd7eaf86170e5e0a8f2f89bcb9520cc0ef529a1ca5e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 80.6 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6fd15c7476ae5d712254bcd3146e3fa0c3f42e41d5c35415c7f4262867621ed4
MD5 80f7b377c07f97952ae691337d4746ac
BLAKE2b-256 3e4a2a5bea7a004081129bf6bfad65145d20584dad1b7b60b8c71fc84200eef5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp37-cp37m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.7m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 8458a6bc0b17914c19a0e0ee0a07566c1db67da0505413abd01eef3376531a49
MD5 0813b5adc589391a4f422dcd204dbca7
BLAKE2b-256 373f8b5d69f606e5eeb3353f8bfcbcb018284e1f03a5acb3971acc593d11d327

See more details on using hashes here.

File details

Details for the file dearpygui-1.0.0-cp37-cp37m-linux_armv7l.whl.

File metadata

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

File hashes

Hashes for dearpygui-1.0.0-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 a9788cb9cc176d4e0c4f0266ff93e40c53022dab99c4fdbe01c458c2a2ee75cd
MD5 203d7b2305a948e291b3a7afbd771cc1
BLAKE2b-256 e167f6fb926eefd15070b50cd1b2b1ca8d9a3f3769e68c64ffda43c5b4068a3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a48bc22f91b37f28075808fd4561c1ca0426c583ed37371db5ea9c27a4d6b392
MD5 43d4c5d52602e0819421f0f60aa758ce
BLAKE2b-256 d3b53ab7435ac8e1163eb6a9aa24af2102950fa83abe1d67329fb5bae1dbdde7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 80.5 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 52d998b38e877fce676da6f3b341e58b2e4d44732f593d601a36c1223053073d
MD5 5db1c04630ce37de37ca3126f1b29ad5
BLAKE2b-256 5a7a32845d0e72c18ad664ff0bf3666fa8892c758f183e97ffba960bc104828b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.0-cp36-cp36m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.6m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dearpygui-1.0.0-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 c457acb4444d8f43aeafbdf919278add1288cc7a190be65831f65d6b30c44e97
MD5 0a238ab4829e8c7f96e518eab32df3c0
BLAKE2b-256 bbfc32f05674c0baedaf3ef261266cfd63832d93e54a56f9b8c1d5efc96a57be

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