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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6m

dearpygui-1.2.3-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.2.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 03e494f57a5bd122fdd0f2b36bb4475b2ec587df14b757427efea9ae4d59a09b
MD5 2628cbbecd5d9f59e36b94c68832540b
BLAKE2b-256 c54e7fc9ccc91cd6feacb3e456acf39e641f89073b2d74bb72ebe9c268ad8f3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6109a79f1a9a94fe0421d036b06c4d376c8c64f49d541bf085118cb3dfe7338c
MD5 3355f7b02219c0ff349d76839028e0fb
BLAKE2b-256 fa2d17832049f64278f12c44fde3dc9598b1c92e657fd815924113d022c51424

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 0037ccc9c372ddd230b295d58145b7d414854aef7b25261705ef3b10cb2e9b39
MD5 c42b63e2d84b92f00eee2c0d800c5590
BLAKE2b-256 7fe655d6ac685e303ddd715cbb4108af364c7c29fe447da48095070755e30bd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0077c5278aed50ae87991a093a457624d9d29eded5e9da970b07842efaba81ee
MD5 41541c0c95e5b65f8542db6fb0acf5da
BLAKE2b-256 143efb3e8b91a0c5f28ba8ff873ae7964ed0a2e7fe67661bc12fa4be92790a4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 396e55abd4b5ae1056eaa8ded1ee53245c219524e576a6435fe670f547ba3eb5
MD5 d822024a0252be48e4bf7c0c6407abb2
BLAKE2b-256 103b76405fcb7bec14fca7e0fb62a29884e26cdecd32088f872d74f48245d98c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 85f76bce07649c4276a738772fc97e478583045ffa82bf59ade1721d2d23ce46
MD5 432437d25171d154d56c33285a5d224b
BLAKE2b-256 cfb14be96346d610ebbec422ce12bcfeb5b412e6dd318f4b9b3436331fa27bf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2bed3ff752fbbbad3350d920b4fb3c8f6d8026cd1b8fe85eccb84a94cecdab0c
MD5 65c401fbc2d1960912452af4f8ae2ea8
BLAKE2b-256 cd8c9cb732a64028ce4a30ce32ef1bd4773e750c09ad638fa6b2d47f39b31c35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2748fb112c30b6b62c9e670aacd3fabdfced7efaf9553acc8bd0d672c68a020b
MD5 761dc22e6d2339c923bba8d94f65ac96
BLAKE2b-256 11356527a9b4a08efa1fdd3b75200cd1995ca8992880b80ce6509faf7f2edf8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 4c2c50ce7c7ec0babd7cd63ebd4f168520d313d4b9306ea080c4b23b5e71dba9
MD5 f452d917c623ebe1bc221c9612ac4645
BLAKE2b-256 3e0472d5611bd994ab25fee6ebed81a1df3eef2abcb156b4fc527d1d107e8711

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4f127d04632d1892684cfcfacb196786d63833922ce75309aed47f791c755e7d
MD5 a2ca95ba3692f06cadebadad9f4f9286
BLAKE2b-256 e5ecf4d455993edb6a331501344dc24d21d91b0767a4facfe90445078ca6dd78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 74301c08c45a39d4b97b8a38749ef5811f6791fe9cd67abc95a5e821ba6b928c
MD5 1b9315db0189f1d90b69294be304eeb4
BLAKE2b-256 37b8158b965245935ea115c9f5e838740b348da3524d4dd0c1dc0d75e3d3a6ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 7660442fe15b664050c2a45d5747d795eae4cb563b9c9b2299ebfe710d49eaab
MD5 a1a6be53eb99efa512fb707280fa100d
BLAKE2b-256 c9098e49c661d832ab358406c38c3fd5a832ec03ed8d14ab457eeb4fb60f8552

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ce58460e9a7cb63bd9799840eb3af094865d4b6c28bdb9ded9d86456c049b516
MD5 5f875f9ec46bb94c51d635f3a1015530
BLAKE2b-256 a70ec72b27b5231a1fea3dd1c1dcc2fc16e387fa7cf9507611121807c9f555f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8e0df07a94c8f56289c782c0a555d3cfaaea22f958708930560cd425962ec6ee
MD5 a5adc260fb2c8c3a33823c8c1e4279dd
BLAKE2b-256 5a9b34d46d7ea300b91d30d09d482108a5a40cefb88216425a8151cd8a0985ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.3-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.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.3-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 79bac069e38a847b6694be7f7a6f0d5b04f2604dd3636d8ca6b38a836c47cb62
MD5 d12496ac2847cdc801fc17b37427c8b8
BLAKE2b-256 368b1c0f1f531b3af44b02fa40861f7c11c9d071bfdc7c1b1d0d7760e98e64c7

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