Skip to main content

DearPyGui: A simple Python GUI Toolkit

Project description


Dear PyGui logo

A modern, fast and powerful GUI framework for Python

Python versions PYPI Downloads MIT License

static-analysis static-analysis Deployment Documentation Status

FeaturesInstallationHow To UseDemoResourcesSupportTech stackCreditsLicenseGallery


Themes

Features

  • Modern look — Complete theme and style control
  • Great performance — GPU-based rendering and efficient C/C++ code
  • Stable operation — Asynchronous function support
  • Fast graphs — Display over 1 million datapoints at 60 fps, zoom and pan
  • Node editor — Intuitive user interaction
  • Built-in demo — Quickly learn all features
  • Developer tools — Theme and resource inspection, runtime metrics, debugger
  • Cross-platform — Windows, Linux, MacOS
  • MIT license

        

        

Installation

Ensure you have at least Python 3.7 64bit.

pip install dearpygui
or
pip3 install dearpygui

How to use?

Using Dear PyGui is as simple as the following Python script.

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

Dear PyGui example window

Demo

The built-in demo shows all of Dear PyGui's functionality. Use this code to run the demo. The following impression shows a few, but not nearly all, of the available widgets and features. Since the Python code of the demo can be inspected, you can leverage the demo code to build your own apps.

Dear PyGui demo

Resources

Support

If you are having issues or want to help, here are some places you can go.

Chat on Discord       Reddit

Tech stack

Dear PyGui is built on top of Dear ImGui, including the ImPlot and imnodes extensions, and is fundamentally different than other Python GUI frameworks. Under the hood, it uses the immediate mode paradigm and your computer's GPU to facilitate extremely dynamic interfaces. 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. Dear PyGui is written in C/C++ resulting in highly performant Python applications. 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

Credits

License

Dear PyGui is licensed under the MIT License.

Sponsor

Continued maintenance and development are a full-time endeavor which we would like to sustain and grow. Ongoing development is financially supported by users and private sponsors. If you enjoy Dear PyGui please consider becoming a sponsor or buy us a cup of coffee.

     

Gallery

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.


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

Uploaded CPython 3.11Windows x86-64

dearpygui-1.9.0-cp311-cp311-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11

dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dearpygui-1.9.0-cp311-cp311-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 10.6+ x86-64

dearpygui-1.9.0-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-1.9.0-cp310-cp310-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10

dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dearpygui-1.9.0-cp310-cp310-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

dearpygui-1.9.0-cp39-cp39-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9

dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

dearpygui-1.9.0-cp39-cp39-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

dearpygui-1.9.0-cp38-cp38-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.8

dearpygui-1.9.0-cp38-cp38-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.9.0-cp37-cp37m-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.7m

dearpygui-1.9.0-cp37-cp37m-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ x86-64

File details

Details for the file dearpygui-1.9.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.9.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for dearpygui-1.9.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2a32cc4b688950b9295cb2c867824d5514a5cf9a87a19981c2cd386881deaf34
MD5 d9e05d3f0145ae7e8b57f12798284f31
BLAKE2b-256 cbe02039a93a6247160d675eb5fad166f18f06fa767548b9978cb824db8b7b5e

See more details on using hashes here.

File details

Details for the file dearpygui-1.9.0-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a9e99b87f60d19a59c2eac8bf910fb6418ff0eed0242a88f47839c17e1f064fb
MD5 5e7a812e00eb078b39ef3c1b402d90f3
BLAKE2b-256 569d7cb435d205f7f51fedb362010b8555f035664c098d423157378745664f1a

See more details on using hashes here.

File details

Details for the file dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for dearpygui-1.9.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 253fbc867faceebee907ee66685079a69043fb14c4878e1df4916e9fc2e53fe3
MD5 0a81d784064233efbb1350e114513bc5
BLAKE2b-256 2f3a582da1bcfa176fc1f76f6fe83198964606dd73a2c953f0bd07d7fbcc45b4

See more details on using hashes here.

File details

Details for the file dearpygui-1.9.0-cp311-cp311-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp311-cp311-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 eae0e458d49570f00da52e2e08511a37af81e4cc72736ae92ae335ba9cf779c4
MD5 dcbbba4d9b5bc32272ebb59d2de9b71b
BLAKE2b-256 0359f12f02c60cb60c440c503b7fe8c2c34dd77fd705669acf8a3cf13c03a6dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.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/4.0.2 CPython/3.9.13

File hashes

Hashes for dearpygui-1.9.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5c1e89cda2c34a3bb75caa4b36c3318c307af9592ea341b231260d739cc838a7
MD5 f0941ca68c4264b946194aad7e6c195c
BLAKE2b-256 3bfe9d7399b98d110299d3edae48e5d59b7712854c5815c523fb394737038672

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 99ad6c07dc8243152d65bbfab4d1afa7e4157b76f70134e7c515990a5718bb2d
MD5 3f12d80fe2c0a3f9de49bf72bc38dbae
BLAKE2b-256 106b23f2630377e62ef91e55969937d4110a921755f0264d1d0a0088311abeb8

See more details on using hashes here.

File details

Details for the file dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for dearpygui-1.9.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85bbccf1e55e75d78783ce85a00937f95a974b1fb2a6522dd8217b9926ab7bf8
MD5 44e0581f9dbab4658b174229191edf73
BLAKE2b-256 de78756707cd8eac3f9dd6eb7d9d25ac96176e026c5e02844b0a2132e44a6d6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 0634cc8edbed199a1b76a6b8b92fe20c848649d14a13561c9043fb845f07cb13
MD5 585ed33aeb32c805166d0c322e91377f
BLAKE2b-256 7d96d541e4f3f45578fdc98b792a265f532f6bc2ff05f2b60793cd1613298e49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.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/4.0.2 CPython/3.9.13

File hashes

Hashes for dearpygui-1.9.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 73111349e1eceac8cd647fca68921ef3804e8517818a657d6ed71013799efdee
MD5 7104ebfa8d2abd05ec104939a604c3f8
BLAKE2b-256 a2b67ffdb498f35e81daacf51bbb03e56a27aa49f6d87796c1b7b86846097cbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3fea90197da90fa44af26a82a462556079ae1171a4a2e3406c6da8892f01ad34
MD5 24aa6e31e0c38c0504bfb36e0d0a7846
BLAKE2b-256 3a263b360fc565d4f630d24be1a9bdb7190eb3847c30a8d13bd63d8cc91a6be6

See more details on using hashes here.

File details

Details for the file dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for dearpygui-1.9.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc36060b330970346bfcc2a019640e827c62877bab3a119078f78b416c52b3fb
MD5 7f7d3e33b833ec7eb347b58148407279
BLAKE2b-256 f03c35925d48df337c7fb36bdbf6c3dd70b00e42150c5e522987146fad3bc04c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 3faa1a34f82a792afbe998b9bf7f21378c774b84a8945072ffdcaad9bf3867f8
MD5 198a9adaa41860f947cf5bfe5322ce2d
BLAKE2b-256 391dca6b5920e376f54abbaca522a757a20f1ef49b436ac0149134f8f64bd41b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.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/4.0.2 CPython/3.9.13

File hashes

Hashes for dearpygui-1.9.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1daad9f62cba3835bbd2cd87a5d5c3bf062b21aee575f34666e21071ef74e934
MD5 2cc79cda50f11a081daecc03ceb2bba1
BLAKE2b-256 08ea53bcda4f208865ef4f1b2055623b8543886188e89fca1eeda242e1a87ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 94b62a219e6b73f0ac8625f30c1635d3c24823e83c4449ee50862ab860c0ba04
MD5 8df4a449e5f594428097ed97578eec1f
BLAKE2b-256 c8f4203674570bb101ed3f12013e7c7de6bc8b104b280166e75663861ee93920

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 6f51153f044fbbaa17645647c79725c3f3f5b11ea982e9cf00773ebed56d26c8
MD5 18ee1ee47d4229246e6547c5520352e3
BLAKE2b-256 afe876c8d8ce7b5049acfd455338fcf2838ba5b1d445298838831eedb34ca0cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.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/4.0.2 CPython/3.9.13

File hashes

Hashes for dearpygui-1.9.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 70e717976d58ff961608c2e926a3eb05feb8716d2e7320084935b824bc87635e
MD5 0153703d19d71f6e3a1829071adcc1a1
BLAKE2b-256 67d04d91b35832e6dc25682d28bdd6be5c26aff9ef6a29cd5ed70f7c91b0503b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 532a16aed78d7151b93d849d3587c28e1c6bc592c0831b25ea77f52637e54a41
MD5 0e99453c7b966eb6d27c0b191da2f879
BLAKE2b-256 aea9fe38c8cdf10114d7822760983307661c798977fc026a4009bb48216f04be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.0-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 9586f8905f645744c034538f851abeb53a7311048d9daf9734228d95f8d75ce5
MD5 f5e6eb5d9c119711fa207d91940f018c
BLAKE2b-256 0db1b91a0fc1e702a4b23607a9543346df3700e376beabb15d9f9963180ddec2

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