Skip to main content

DearPyGui: A simple Python GUI Toolkit

Reason this release was yanked:

viewport broken

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

Uploaded CPython 3.10Windows x86-64

dearpygui-1.0.1-cp310-cp310-manylinux1_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

dearpygui-1.0.1-cp39-cp39-manylinux1_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

dearpygui-1.0.1-cp38-cp38-manylinux1_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.0.1-cp37-cp37m-manylinux1_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.0.1-cp36-cp36m-manylinux1_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.6m

dearpygui-1.0.1-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.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.0.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 903b92bf70eaa10f21050ba9b22f653e862d09dcc57183e20548361daf5fb3ce
MD5 1c95422696655e29a39fb22a207ba091
BLAKE2b-256 d1644df8619b7097dba7606a949c6de886bf43d78131e0c9224ce59e00b33686

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.0 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.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b57706699928abae5bdbaf210606e2431752f479d0acb0dde8092208860844a2
MD5 329477a5e67d090f97828cefb8cc44a9
BLAKE2b-256 52d2bd6b644a84735f84398edc4cf2bf5f61569936aacc3d424eda8e85cf28a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.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.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 2e76acd06a9e6157abdf43031ac115f92c8af7be5a0ea2d534e26c212c09ce43
MD5 f886dcea70f9cee73df6a692bc72bd5f
BLAKE2b-256 488e032d723c88a441c4bf2d8a8c3e937ee154be30dae6cca1a7399eb12905da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2973ea096388f9e4a38deea69cfe46c476435fbc0134471d9bf7fc5fd17b83dd
MD5 6c77b28a0ba17958c8fbc370ec118caf
BLAKE2b-256 462fbdef95f6c1f3c6aea1b4fe2f51ebc2a7987181e0f71afed9c51cdc071cc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.0 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.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a86b44bdc6a893ea694eeb7036a20b4c68ceaceb32f6f6878a6c5821275bb38b
MD5 4cb9df1f6aa21c8ae08a9124e378748c
BLAKE2b-256 6bab3e22b6550580d068615d5741970e81e7255e0471cb5b3bf4cc507e9814b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.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.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d380adfd78c61d8eb28d540b957fdef32896eb6bcea2d62963df60a3428e7e78
MD5 075c076182f1c327055ddd10fa4792fa
BLAKE2b-256 1f684f6ea55f456d2ad1eceba884b0f915202fe8a08fc39c6c2eb8085f7147b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0839df64c5d8fdbb8730cf6a686c7ef0eaa23c6b4fbf9a1ac5e18d75b50c3ed1
MD5 e27089e22f7c20049cfa906ce7b2df59
BLAKE2b-256 cb5f9708741cb6f3793928de603607061b50399fe2c153122da34ee406943b4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.0 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.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d07b34165313cb2f60d5bbc75a30a4c5aa044b824f8abec57aaa1c8c6bca1dca
MD5 6530da0eed34aa6ddb4a3f90e1ba5406
BLAKE2b-256 a8d1340d3950e3c28d8c5526d70d2779e69424f0ef3d47146a22577c53b77016

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.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.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e9442b03914e74a4ef3ee73dc4fcbfabbeedf9aa7682b290c4d9a51ceb7ebd00
MD5 04f5e8c019d6de7587fb8a2821a6094a
BLAKE2b-256 2cbf863158424f14ffb7f6376e43f335022536502dd502e9e0f5aa9d70ec6624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9e9df1e933fb980b26af5438ff9b3b244d50d5719d2d795febbcf8508207bf22
MD5 1d10c0e83f6c275561b5e1c247be525a
BLAKE2b-256 49da824933bf1269c7b2f0248a1c954b66d08c3afc5c16fe78f1b15f39cb94a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.0 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.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d2a7bb4cb3cda75de33003fe15738e47d8ef4fc1e6ab480e4cd2567640b2ab55
MD5 bbec37b257d69e10cd764950a5d0397a
BLAKE2b-256 96b7e11ac512a5f523ce1704e43e0c2cb5701d5bf2d10fcdbed1a7ec643e871a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.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.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 744d5685bdfa47067394deeeb3bb4ab81befdaf4c7c8e17d13d26c3064d9fd3d
MD5 574ac5f3b400fae10659bb9d233b8f3a
BLAKE2b-256 8a92f6a97818b0e6ecba7cb7b3f9fe373b6f5475579b243b382b04f9dfdf9441

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.1-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 48e738ac60df0895a48c4ba957ee894730fbe870e741a6fe3631c0c82f5b2358
MD5 c8d038f66b602abb710ab40b2eb027ce
BLAKE2b-256 9095e6f1aef150808792f7a4510ae95c213fb3e67df8f6be28622aea5e2eb5ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 6228a4160940d4bf14110f312cf00345445300ffc2659e30f2fda514f4feaee6
MD5 3885702dc11786a995a77300c5d1d8ad
BLAKE2b-256 af4d54279e7517abaec91bf874f485b6ef36602cc88de7965a7c087cc6fab1b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.0 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.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 24bc2576796cb51a6e88060143eb0e0a557520db94b82583a3adf33e9cfea20c
MD5 ec79b9df67a67e0eb55fe39072c2c79f
BLAKE2b-256 d3087e50501a5d91985c49a48f57d3282de966722788546c9dfb51e594f7e72e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.0.1-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.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.1-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 00173ca3dfeacebbfdb7df3f9e245acd825ef5b0d77dddeb0ad088eb1a71b7d7
MD5 d461bab35d772b80be8287849c665cb6
BLAKE2b-256 f251294b902a2a8f450c41644dce0465cfce8ec9dcd28be45949cc5dd5ae24b7

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