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

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12

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

Uploaded CPython 3.12 macOS 10.6+ x86-64

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

dearpygui-1.10.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.10.1-cp39-cp39-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

dearpygui-1.10.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.10.1-cp38-cp38-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

dearpygui-1.10.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.10.1-cp37-cp37m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

dearpygui-1.10.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.10.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5350d2a03da789684fcd384d7ee9e0ea029ecf134bef30d134c439d35c9d60b4
MD5 f662de05a6c369e39acb0c4c963dfc8b
BLAKE2b-256 26f34a2c31d6b035dd66687ee9669f4f14ceb62c6af470e92119897e2aa133f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ed0d58e057636c4b79aee14d09b78042b122f42a6bef08d9901239de3361449d
MD5 8137a7a1c8578e5fbf1dc592e621d8e7
BLAKE2b-256 1fb98ae9aebfd5350985140f5ee31414065f2b6d6dc0a65c554f3d43965f1757

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp312-cp312-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e506507ee5344bb8d059d333c4dd77cd61bb4850f66fc4b5508ffa4f456f5a98
MD5 7caa4bba304f5eef3b4c47ce6dac3625
BLAKE2b-256 bfc699d9c0e03211ca54687f03ea7ca45e181e9b28e47a62c454028bc41d985b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1711a5cc991eaa6bc8a7a3cadb3845236c16b6753dc46b2fd1f4285db57d998e
MD5 76f26c07ae195f2918af9d6df21f70ee
BLAKE2b-256 990a25823be861a1f922cd4ac2fc983a33fa759a2a1ca4f6391aadb87ac06d7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ac4e1cb01cd53490df20365645fbd0296bac093b8a415c805c18cad0aa85cac6
MD5 f7516c1e2328f6e14156fb24931f195d
BLAKE2b-256 06f1a420b0738508089814a8434719a4127b723a08a6e192f0d5ad6467788813

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp311-cp311-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e87016bdd388d0e33080cd2033047f6c58df7808e1c3e14a1b0d736b2184e1ce
MD5 2b0e92ea6a9fa173f1c01841752a897c
BLAKE2b-256 2444fd7eb4a61c47455bec939ff9088fc3db92f382b756b301bf8fbf563c810b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8047f4ac06fb774c1335a98d3dbb47337b07e17629a85789740298a61e6ae999
MD5 0f1341b94afa715aaf133102fee0aee0
BLAKE2b-256 aa5c28cff6f4af271ae830528341d077e04f1f698261dccac230801a081dda59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7dc32b229d89b10ec4f647414738783afc2d6aa09c28c9f7384b07023b6ee261
MD5 75e2f5ccc3f8fc48aa21147325c9e9ae
BLAKE2b-256 4993f59ee933301e532a00e79572250383245b09eb5194e3bdcab2b6006f2cad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 ef1f1a8dbbd2dac9ea4fbf9d37e7812741e9a33de03ce385e398258750966a85
MD5 8b6bcf0bcdc7fa25aea407d68a0ad00f
BLAKE2b-256 2b2bcf4aa8219df19d50772ef85b87c403c53d4a773fa7aae4f51f3cd49a1bd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5ccb75b5377e5d4fcd6358ac2164418301b2747a78fee55422e3995d167d364a
MD5 b40f008f6c61a2d2637c21842bf1ae6f
BLAKE2b-256 1861f57cebd5504854043fa81a6431c71c270ac499fc2a2fc0b964293a781651

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 358a221d5f53b584e7bbc76e2ad7ca012991debdd74ea3a6cfc8e2ed0ea51c92
MD5 f9a19a0c148d21013250bed7e3fa76b4
BLAKE2b-256 da431c560ff109563cf4f7d7f10816dbf1c8b477c46f649f4926c588295b3534

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 a2e722e5b1fb8ab8d25e3ed82a790778849c1c66a522a327a73e25e218f98873
MD5 1a37a3698a7e8b5f155a9c43076e885f
BLAKE2b-256 e6ae4d0e3c5d0e2b5b7babf2377845c1d39bc235d2a927671c876f22445fc2e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2a8a1305ad6bfbc6f46968067b7f02d8404f2df21a13627e8c93cdabbb30f37b
MD5 d8dad08c63b80950e25aac2e08ee0bb5
BLAKE2b-256 30fbad3940f50cc8a94db17e90c42f4c4bda641d1f2182b906ea0839cee7b2dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d2cb73d22ec6c186c039c60c22efa5fc94f0562793bf20996d9eeae5ee601d55
MD5 2b09fbcac730bf0a1e38dd734dab4292
BLAKE2b-256 5933aac56392c7a477330e55e429373dcbeb0d0e1adbefdaf7b08739e0a24d41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 0e30634f1f8c13994ec59c58048e97103e672f792145a57aab4a7c39c6445e5e
MD5 daa6f721f7bed2e812809bd8b52ac369
BLAKE2b-256 62ece17cfc2bf2184217761aebd9e363f0be467d69ee51d66b0c42cf88a75286

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d1b877a147971e062d3c006027e880fd2b88dad9d198620f12b8407dddb1f795
MD5 eb2939c894678e07e1ce02470838b3b8
BLAKE2b-256 4d5dfca52feed3622e580a69663ec6ef36200d7ac053aa14b06510ec8566261f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2d94b23bed91e121ad4556b811fe164598c5b4dc94a19e3195bb70a4ff632759
MD5 95b12a8f8d8a908849acf92a036bd185
BLAKE2b-256 ab46249bef68186f275c6ac66ba2bd5c8b591186ba25718653524822ad848ef0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.10.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d36b16afd0dd22674a59195e2ba37b787ea18bfb4ca96c460d6b7795f2c56980
MD5 81cd80428760366edd3f131638b82598
BLAKE2b-256 54bb76f09835c26376e5f05e3c1e3cced663befbf1e8731ab4fcd6c9a2b477f0

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