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

Features

Installation

How To Use

Demo

Resources

Support

Tech stack

Credits

License

Gallery


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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11

dearpygui-1.9.1-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 macOS 10.6+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

dearpygui-1.9.1-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.6+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

dearpygui-1.9.1-cp39-cp39-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 10.6+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.6+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.6+ x86-64

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b687bfa9e5dd34cb84e144ad307ec4d0fa8ad7c43f37a0cbd68d018a93f0d240
MD5 da32670938d6ccb6340dae695913d185
BLAKE2b-256 2706e47e87fb6bab117b7ce2a70516d943e380cb855eac4665b7d7eef8479d1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 64cba064a5b6dac96abd8fb88fdb61842ca75668bdca364fbd52b9151adc6eb9
MD5 494eda17c5d5b70ebdb1a2c979bf2f61
BLAKE2b-256 9af40a03e855abb3188e04bb29a29358cb1c34690cd0c0442213d5c47c48a380

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.1-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 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.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c16181743f79b2d2809d24e696a5e5144135ad61ee10072ce1430bc5724ee5c1
MD5 365fea6435d41268e750f5250dcebb14
BLAKE2b-256 b4219f3cb3a3135bcfd44ce7ab84ce471c6feb13985a9baa45430f3a35278a42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp311-cp311-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 8a031bcd0e58083dd0f48ada33ec86a2379f47fc56d8e199aef481237ceda774
MD5 e4ba42ed224aa26fce67c8294ace5b62
BLAKE2b-256 abdce34eee64606856101040f599981d77b8ae1bf78a582c58497f296dbe146b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2982e456dbe2be5bf7e398af6e1f9ea16d8bfdc90e00d83b9c17c834d210cb7a
MD5 b8d79c7b4bc9b62ca146d38af7db578f
BLAKE2b-256 4b4b13e28c768d367e71ee42a6f4d35facf5524c1daa6c8cf11f6dd227616d98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5a006fe44590c362a03fe451237074ed99563d0334f1bc6ec6c7d498eca41e46
MD5 8fe85488a865681cf53213d4618a735e
BLAKE2b-256 a891fd01641f583640ef6091c660684a201712b59a1f4d613e6eb0a383635d9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.1-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 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.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c7ce1000004078f4d6ceb26b99df17118ae6d412aba60d0b4b217588d3cbfc7
MD5 7b45aaf13477958c5b207753604f23ee
BLAKE2b-256 6453994f42d43f3badf9b00d53bb59dcb8b5063c789bdc2084b4a90b7f7b1271

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 055d3399bdf0cfa03a06ceed2a213c304f7eea314bc57032d9a06b1e8f6ec400
MD5 aac6b43eaaf37756f1c5f41907d6b807
BLAKE2b-256 81fdb6e6d5bb63855d392de61724730c610e9289b0a37346cf9babd9abc7473b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.9.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 caebf2e331a8d9f945806aaa2cd8a308cb2712c11b1484aee967ad031d79e0d1
MD5 6e5861c9df5480213e0a4f9b82ce4fce
BLAKE2b-256 f7240074f06488e3a153c08dd40ed94a9e27f2a94b685b0511cb06fb239effa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7394cba85ef6495091e7806c9a9b7ae03463d77a84b507329dc2d5a42e6581c7
MD5 a21734be61f8807095d429c994ed81e2
BLAKE2b-256 17c611a48ad6a944afc88de84265bf31568862398d7129524a1987ae43fa2da7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.9.1-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 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.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7646f0b80e0b94acd1e0232f32d5fe67b31d0e7b1921fb4947ee551d8b90ba86
MD5 bc104ac78b142347fe4a98542f5a0038
BLAKE2b-256 2e8a2ec5e8e98e0925d6b8c24a9430b14cb9b325d3da4080c593ca3d2e6334cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 069b557fd20cbbf0b13a0c41d16366eb7adb1c895fff1cd6653e472acee5ef5c
MD5 ba3e6570fb86091d2c0cd8c8e29cf846
BLAKE2b-256 937b044f55337b5635fcd445ebbe8c7d302f7974d0bc9d5845bdb6ce971dc2b0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.9.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 23b954f304bcf63e0c9aa5c16344f1d44e034ca5c6e0764e05bd1c0b0bd10173
MD5 fdc8055ca09dc966f91da72edc5076ec
BLAKE2b-256 ba5f2e5dea2cabf32519269132f4d98a1865614d36828d73492df0844b26de7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1a308bc9bc21830a5c4d3f205559741a29bc191283dfa4ed5d24ae23a1e93dc2
MD5 7a0c6965cb325d9978b2eb0d99ab53a4
BLAKE2b-256 e5a4ec93c1b4997decf64ac7970b1ddb4bf8ffb6faf4531c2e6741a1895aacf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d6d8fc7c6b8d97e972d4343b871ea789da39d89c9f7a5bb7bb106b4053fb1c69
MD5 781420e275351b1b73198f248db1e6be
BLAKE2b-256 1e91bc4ba30903a98cc979b20c234ef59f2d87bf6f3ece3d91c18c36504914f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1a05cc0adeb9cba19181eafe2418c1b6e2004624b350a619c0e7b3c92ff0966c
MD5 ef86fc73b2f9838ec1a36b717d2cf7d6
BLAKE2b-256 05be2ad829396b300aefe969c92dba5266a3d4f4ccd958da15fef52118161c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 10310d34ef998cc201b13915a8742d6a69bf32a17c999bea2abfdf12a14bce31
MD5 3f2af002c848b1c36e81a746fa264977
BLAKE2b-256 bb77feec912dedc2ca13c94083597368be7cac3fd7fe939ff6493e5e328c97ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.9.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 fa37c0f95a202fefba86e0f9e422357e24297f65554c06d8cf68b71b3671f278
MD5 573b08ec2a17d4bb3c974ebea41482a8
BLAKE2b-256 2216a5399bd3212231dc9c5baf4f0f4c00aa622aa1d2dcbbbd592a7271971161

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