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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6m

dearpygui-1.2.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.2.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 33e45d52a4a8285d334e0468ea2550ec1583202d36f1e8ae2f7912e44eb3305c
MD5 cd72c10c13878f6261fc6da07e2dc4d4
BLAKE2b-256 bd975b58da7d01fd01071390957e17a43420a608e034eac10fbe8e4f526e9174

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 55ae7ac6565c774e9c3279a277f5aaee3aa86980f798462c14902971b112b8bc
MD5 93dbbdd696d067a796d1f3974b4b7dd9
BLAKE2b-256 b5a9c1da7d1b7c110267f48e3fac4d882f14221cf97e591b154e06b1f206fe0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.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.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 1b948b95b59c16f9ee6713e0a571add6cb253d5f5cc6dc6161d6e708cc4cad60
MD5 6848c895c39ab51f8a02a58bb9215e1d
BLAKE2b-256 7059038ff9a72ebf5035ad2e55ee300edf368fbd7fee5abf3a6aee63e5b60799

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 61286a6c1e547536d50d127b549a740d9dfecd16b8eafb7c1aa7ee5c7c316c71
MD5 1e181d7c05efec069e29504eaed9e30c
BLAKE2b-256 2e952cd346d0185badbf8a5a58f2194754e06086f49bb90d8b8cfa248842d766

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8957e8a7045756977c6d2c6314a8eb3a2fa75ff3fc1fad8d0012be77ff199229
MD5 29d8e6714c17f4ba4aeca277337cfaf2
BLAKE2b-256 82288f803bcf305eb7b9f7ffe7c8ad33fb15f9f08cb189c34112a2a245e613b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.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.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e2064893c121db82c1fc0228fa4d64bd089c6836fd57307d2d922b320d26b33b
MD5 c303bdeeee76a27eb8c463562e26e3c2
BLAKE2b-256 474eb8896ffb75f89b3f36f458095bdc7441545329e89e35c5de4957b123b529

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a855a26d889bee16ff66e406b8cf9e1cc01dd3208a2e9c26c228f4bd813cd078
MD5 a38f417722517d7ff51864b7587f36de
BLAKE2b-256 5353eb8f81846a11774f3a15fe3a006a9af20c1dc36b30434411558c00b858e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 357d287d17275ff35e93652ad8addd6164c6116a57ed1b3b54abcf34ca7dd248
MD5 ecc259d7c549be3b272512eb9060653b
BLAKE2b-256 7e037cc0e694982f5df2d9aabad013b205774663f61d8b833af367fc0cb34462

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.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.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 40832266a7bb4f44ff8d2658fdb19df61f54b817cdadafd075332760cbb029d1
MD5 535d67a9dbd7f19698bdc0532b06e75e
BLAKE2b-256 32c96514780263ec42e7d5c75469696770e29d9c1faa2212cdc1ac23f0a3bf25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d944457075785b425b9a51dad3ac8fb83f93e9196a6472c36ed7be72ea266894
MD5 7309891940f2a2950b8869ce1cc722db
BLAKE2b-256 85ace4b39daa8d9c5c3d03c965952a8b63b3356506c08241cd67bdca90157290

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 02c50933200c9b68d814f4f5652d90b8fd3d39a2ca83e1a937c46800a079c6c0
MD5 bc459f5be8cb7b6b92ca247d4dc27bb6
BLAKE2b-256 52863c707a814d85c1a92630d0575e371776cbd49a1e4129f393309b88d997da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.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.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e3fc76860bd8ac313868694704ce9b0eab0fcf429e3fadfd919f9e0900cf50ac
MD5 74c73655ba9731423ba6fb8f36039d86
BLAKE2b-256 69e056285dff360efeec3d6743bd8c776ea72faee18e4872de70392c085de879

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 11825ed9fbae893b7af427b987e7709bd6e413fc9656d6d76e223797ff6c584b
MD5 cebe25130962d98d835781d53ad3571e
BLAKE2b-256 769a1b33f5a4fe666f46973338f60fd92e17e258aec2dd21a924753606ca019a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.1-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.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aa67236077a3dc1349b872b2338fe92aee8090fdb160a99b7fc1f97dede24165
MD5 d4b9cde71d5d8625de519e4468501b0a
BLAKE2b-256 5bbfc818f7e67ce5ed0f4026225b2631ba8047c0e0535ea542474b1c05a124ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.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.1-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 ccd738b3056d542ca8cc9eaa736e23987464962c3d8aac30c09d1d931edcb088
MD5 d4e3b9636bda36e9e34dd6a1430205fe
BLAKE2b-256 ccf6f21b6594b325378042c42a89af06450b3e62b89b7442b98903819dd2c6c5

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