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.8 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.11.0-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12 Windows x86-64

dearpygui-1.11.0-cp312-cp312-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12

dearpygui-1.11.0-cp312-cp312-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12 macOS 10.6+ x86-64

dearpygui-1.11.0-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11

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

Uploaded CPython 3.11 macOS 10.6+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10 macOS 10.6+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9 macOS 10.6+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.6+ x86-64

File details

Details for the file dearpygui-1.11.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7e998e0c6d904f756692f2df58a1f0d0962af81663a0363e3ad7c3dc93ff38f6
MD5 89f40f6093e2c74d43926a22b19557f0
BLAKE2b-256 b91fa2815af28f10e9449e5882f9db58a7bc6499a2acfcf3d4bf11976d467e01

See more details on using hashes here.

File details

Details for the file dearpygui-1.11.0-cp312-cp312-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c6d566c7d9f836b2f345c787cd23852e74ad6cd0ea71a8e624a094a212cb1570
MD5 4c371dd785ece76b451a7b8f03125e3d
BLAKE2b-256 db540eeb1305d30f36752aa50d0ff1c596953f02e86505ec78c4a338e0cff271

See more details on using hashes here.

File details

Details for the file dearpygui-1.11.0-cp312-cp312-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp312-cp312-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 4b2373e71d71aeffb3c57db59c88ec77cefec5744f0eb8a4b49ddd5327099954
MD5 b5c0509a51f38256b46e7a1357fde908
BLAKE2b-256 e46050a55cab79b1759eee75bdf2d756146c392a36c85a719d0c31bc1ab8ec1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 22e082b8cbce43bc79c426b8d767c24cc54cda622783bf8f1374d957e0c11e8f
MD5 a8b4abe88c13bb589be1cb0d6c7ed4e5
BLAKE2b-256 750dab3f2c71a935fe352c066d2e973efb60cc4e20c0adbb736ebc1bab280909

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b54f92096e522b7ea84ddd3af3f7070418289258739f673c998e9c567610f118
MD5 1773773ce0b463264dafbd8d7852c99c
BLAKE2b-256 4bf75d6348839165b219ada535ce6c4f228d1c14fc272d707f70f29ec19129ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp311-cp311-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 57050f5910feec3d953ec7af52318de5b629a7150bef506f665c0b7529a3327f
MD5 3e2667e0934defdeecb1be0ba09c402a
BLAKE2b-256 d0417e7d9ef7f1a16df8bbc7775bc8a85987bac76f92c220bda58eccc1d34d56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 258433d6f9cbeb8043f9226814963b0ca273ff8419475a7c5858c8518a0c6940
MD5 1854571c32b7946f39b68cb3ef7a6a5b
BLAKE2b-256 888a1915021526cfc6b788f5815ae430b4d68c721f58fd5f4d7399f39607b9bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 32aa58c2036ce396960a62afaf1907e8eb8c08246af8d8c3a373e3c91a9f3bd2
MD5 368088b9f810a957325f7bf8bc9e2e01
BLAKE2b-256 8d1e0c889769529bfba7d49447e491766a01dace76db3f8b02ec51076887e5c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 badb459bb6b27d4c9ecf3ac54f0c20b3a1ed5a6aeb674d3fc31f63840f0d7522
MD5 4eb549e21704aeaf7620e0e04e662f62
BLAKE2b-256 1e95c5db0436f5a485f980a91d6fcdbf4ff343e3f3a8b9311a6ebe7ca26c0fe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d8eb2857c121703e4385c969c96d3255a3054780e6e45897284c2b40ab53eb58
MD5 83ebe8c581e5dd6e22f39b33be618fe1
BLAKE2b-256 a0e56b4b1242910206bf689e73c0cb6b9791fc25f0b134dee4eb04838d437d53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 27e3560b5c1276eae912e8862cbdeb3d92564b92cb4444717afec3fe4cc1ae76
MD5 e815f48f7f60a9eaaa4831968bd46eaa
BLAKE2b-256 39401c645ce416fe9f7bb74253efe7d749d37f1b9dde9929aa97ff41058a3bd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 3f9d576097f95af36692be9282de5e272568ea5b68141e66613082991def8ed6
MD5 782d1f5933b57431c11fb35e9fd24c8f
BLAKE2b-256 9e877fb1e80c530c72250a69d5984482cb0dfcf8611b5eadd613b29600a2c609

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 32fdb6acdf488d54c4e2f76451265cd32a29e2e8394a24c1cc906102d788592c
MD5 98c1f9018dba49ae34d5489b091dd96b
BLAKE2b-256 fd6ff0bf8faf350eec50c6b74accee453cc3bb313c2b0b049a1ed0a7e94e3ea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5f78bd922a856118e3974bb12ed86a23a1ba4d2d51db0a792c1d0f598b30bcec
MD5 09fd7b2eafce40e1b810940d4d1a3cc1
BLAKE2b-256 a36fc332edb9ee7f8841d9770cae9b34780eb5f19403262f16ae19d4427c558e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.11.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 50b724eb4a46581137ada9a23a575e65e3b2d7a68518b83e5f4c3316eee7465c
MD5 45d63d58d9b5f3ef438518e0e1bdc931
BLAKE2b-256 4d1f3752479e55056e2e6db09606b0b1234e564437e1d9bef2c3051f6930d195

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