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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 10.6+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 10.6+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.6+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.6+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1d5f3aa015c80a82e33ba0d37b78fe0fdd10ce6bbaa86f1ae919c670ab09293d
MD5 e4ff8d04d1dcf5dd56d994b24d19e428
BLAKE2b-256 ca9fe1e2d4f783cae7f6ab620ee4e1ffef87889f5628678aa033d2180eab4987

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 760da83e8280919fee0cb9be3b2ad998cf70cfaffc45ad416787c27b6028e067
MD5 04a9840e2d43b8a64ebca75d1b7f6210
BLAKE2b-256 a48001e40af20f91c729c7c4c8b3413c0749e968e80f5fc5f4d73625b4f9fc35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 a72a3807c146cdaa935d019bcdefa1a63d8803a5391dfdf89c8bb560a96b90ae
MD5 622543605780caecb5ec72a2e32a37d8
BLAKE2b-256 208feb8e337fa375c9b0c28e09ff7938ff4ad2dbf9656ada7f9eb1c9c82d48b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2ff845d4a55b0317b96986cf75bef184028aa0b27ea3f8b3951df7bb77b03970
MD5 c9aa70c35197027611e55374b735b0e0
BLAKE2b-256 bd23a2a773dc93b3987186843c6506b0116eb2e17e9481e19525f2a99bc34b14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 388e40c3305cd5a27d14d740c71182e58177db1a709da0c4e4fa8fb6857237bd
MD5 e2eef79ef0aa9789b7d631a4607767e7
BLAKE2b-256 26d485b160297139d6918928340c320e546210bd093b50585ddd4dd18dccde42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 945b58ebb56b303685188dd001b0c27d729f124443bf9b31cd3a98cea4684ea8
MD5 88e10d2f108a0e245974023a10d897e1
BLAKE2b-256 f123b9ce636da22c429ae7d8ea3223a5c79d8581e804739db870c7caf7f069f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 979847761bcf04e084dcb4c1855245e999f5e8035b1764942d4cbf983e123a98
MD5 a240548787545e856fcf7d714fe44b4d
BLAKE2b-256 776a82ee1bcf53fc75361c34ecb2fbf98d2841aacbca9f688bef913ecc65a837

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e6bbfec6704a762f895ce02ccd0bed6582606cfed418a709da4968d4463248e5
MD5 b7584b7b3c144e02dbbf93591716606a
BLAKE2b-256 1572fbe665428405910155976b480f94e50f40bc770b59ce64d402884cb372f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 5a087803dd8c3537271ccb4ac13b323cf0a80a83b91291cacc05516dbb1e8f3c
MD5 0842f8997c6c12183567b94ddfc4ceaf
BLAKE2b-256 411ac770b596d0e66e0fce480fec1a18a89b8d7c1ac5ba559edc8f39289a7c6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bbfd340da615951353d470e754c8c8db0cb359627f23b142e67bba7c29692502
MD5 b4adffa22de3ac3af90a4961a158badd
BLAKE2b-256 e1e7337a812e27641ec5b1b053b17eb524cbcfe8a1b978f817248b11d1984c8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eaeffa7751582572df5b283fde8069c9adb9b4f0f0f085b3723dee3742d20cb5
MD5 734eb45d09530e120c8c59f310f28ec4
BLAKE2b-256 dd27ae3a3c79a9e3248629ca6c8d0b3da268075d9648cdc7ffdeb7a925364c1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 c43060402289bf055938f41cc7c255d94f8fa590ae84e2fecab672d392c8a00b
MD5 18e5f220dc02f6f94029959a2203fecd
BLAKE2b-256 1c3c245e155f99a23f937b82b1eb28fd5090604dc98fe6ba3941a9c7056fc019

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 64e5b3cd6b3b3438e3bf0730e48e668ee40cc86880c9400769901ead268b6d3a
MD5 183948d3128eca0ea9001d0a0aba282e
BLAKE2b-256 8c67729090abc20375918b0492c12d81f4ccc5c7bc9edef45825416cd49f8a3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0382e792d4e5f09a6fce90797f9e6fbcedac21353dc75537b6bf23de61618354
MD5 a8a11183e589145a01654ce5132fccd4
BLAKE2b-256 b0b020ec7f9d4477bb06da8893d705430e9a5cfd7f22e973f2239b726e253005

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.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.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.0-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 4129dd7603b4430e3521c686ba527755ec3cdb6932c7d208cc91918f814da62b
MD5 4acffd097fec8d01449dd0de5b840449
BLAKE2b-256 144c3ab38ea231eeb264264f7fa8871d8ad4f6e13d2b1f15a6fd5a9b64a6a396

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