DearPyGui: A simple Python GUI Toolkit
Project description
A modern, fast and powerful GUI framework for Python
Features •
Demo •
Support •
Credits •
License •
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()
Demo
The built-in demo shows all of Dear PyGui's functionality. To run the demo, you can run:
python -m dearpygui.demo
Or you can 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.
Resources
-
API documentation :books:
Support
If you are having issues or want to help, here are some places you can go.
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 |
|:---------|:-------------|:---------------|
| Raspberry Pi 4 | OpenGL ES | |
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.
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.
SAST Tools
PVS-Studio - static analyzer for C, C++, C#, and Java code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file dearpygui-2.0.0-cp313-cp313-win_amd64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d52057f49773b10808962806711c3b3119e829d36407afb84ad50522edc9b0 |
|
MD5 | f1fc5f3dd15d76ecde3ed1263dd48585 |
|
BLAKE2b-256 | 559ea957ffc21d12a1fb66d611f82871944565112b44afa0856bb15c6ece77d5 |
File details
Details for the file dearpygui-2.0.0-cp313-cp313-manylinux1_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp313-cp313-manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.13
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f02b0ab56700a775d7e6446e3c424d5bed3386efe721a04518d02461851daadf |
|
MD5 | 31988f0a90924b5ca2d2a7cad61942a4 |
|
BLAKE2b-256 | d62b0714feed9e072377d575cb8801ac13a909f7880ca51c9dd6f2d768bcd1ba |
File details
Details for the file dearpygui-2.0.0-cp313-cp313-macosx_13_0_arm64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp313-cp313-macosx_13_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.13, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae6fc9aa3390b29387c2bc2bf3ac7a92c10eae2b479818171864fc29a7de344e |
|
MD5 | 23c32225490406691d6d002d60140e13 |
|
BLAKE2b-256 | 70e009885f99df476d03e573183a755dc515cd88565cdbf036c385f0dda41dbb |
File details
Details for the file dearpygui-2.0.0-cp313-cp313-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp313-cp313-macosx_10_6_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.13, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bf0aa19baedb4f130b8de636d4644740ffd9b7008481794c574bf59240808dc |
|
MD5 | e6a375b72c4a274c56e7f1f9026a5893 |
|
BLAKE2b-256 | 79584e1744d2af72a3aa432fd82aeb97dcbc43351b17f837d879b4c4926bd16c |
File details
Details for the file dearpygui-2.0.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29881d01e5d0cce0980a8d8b9761c74ff2f30d16aa800e6002a244bbc894b34e |
|
MD5 | 645acfbb47bceb0411cc7ff832fb4f63 |
|
BLAKE2b-256 | 35addd978c8eb4df7c59756d5325d18d28e97b39d3bcd54275f075c1c3c34b17 |
File details
Details for the file dearpygui-2.0.0-cp312-cp312-manylinux1_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp312-cp312-manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d27f7e64a282c7f0c1387003ec3b247b2c3c1583aea9427283633ad508aa2da6 |
|
MD5 | 786cde86b8de9777eb02af56f9f087ee |
|
BLAKE2b-256 | 6fa1427d18fbaa578890507bd8c864262a5f1f1eaa6e10ae2ea75ba9f0a5b5a3 |
File details
Details for the file dearpygui-2.0.0-cp312-cp312-macosx_13_0_arm64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp312-cp312-macosx_13_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.12, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c32da6911881564b6cbd95e110d6956095f7a417d2e0c12dcda8274c4fbe72 |
|
MD5 | a783c5d674c193ba5ed5b5848c881fc9 |
|
BLAKE2b-256 | e5cafa3e58376f8c8486f38b7266c69566c1b965072eabc59b4da95b10a114e0 |
File details
Details for the file dearpygui-2.0.0-cp312-cp312-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp312-cp312-macosx_10_6_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.12, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0383d74f628ae4622863afff84ab262c9f5163a769836eb470c7243dc9ced0c |
|
MD5 | e46351c65edac1865613157d30c6f04a |
|
BLAKE2b-256 | 00dcaac3b7e5789408096f34616f2c3b3c000332970a9eea0b3362239a1c35bd |
File details
Details for the file dearpygui-2.0.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73643b3528dd4b03cb22ad64afe960dc8ddd3023f211fd405eabb861fc4dd129 |
|
MD5 | 6e8fe0e249c710a872d0a8fb8ebccca8 |
|
BLAKE2b-256 | 57cd272fbac4c404aaac2ca219889b8dbc5be7d5f3d7836392a1c3d8d4707e68 |
File details
Details for the file dearpygui-2.0.0-cp311-cp311-manylinux1_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp311-cp311-manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5049aa54835a51cc304752a0831ad71a6ca05ee7a33e0b82f7e7e8c8ecda21 |
|
MD5 | 35849e504bffe6eb87323db90a6b182e |
|
BLAKE2b-256 | 19038a0536d201fbe0f60aa4b024f6d6712f7ff45427b52f03999fbe904850a2 |
File details
Details for the file dearpygui-2.0.0-cp311-cp311-macosx_13_0_arm64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp311-cp311-macosx_13_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.11, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5802886d4c44362764882b9339a0dbe85f9b445a98560f791acb164febc4df32 |
|
MD5 | e0f35e0bf78e9177333c539ceaac3df6 |
|
BLAKE2b-256 | 5839a4bb4b6b73ba41da8957cc6ef8f4d9fb05a8ea207afaaf208872cbac12c4 |
File details
Details for the file dearpygui-2.0.0-cp311-cp311-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp311-cp311-macosx_10_6_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee81dd58b06161b5098e11fce5514f621f1fe7670c63711a4397cb1bc108dfe5 |
|
MD5 | 50c3bbdc05a2592607d27d4d419ffc41 |
|
BLAKE2b-256 | 993a36d33f51bbcd44c26c8a9888caf6f185f563dfceedd0d18118a4c2e13e1f |
File details
Details for the file dearpygui-2.0.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d287233603338a811b59da0af8194ff7cd7b8da768c1d056fe17b6d8a7b36a6f |
|
MD5 | 1cec4c768d9c1a283953b3b0614c2c42 |
|
BLAKE2b-256 | 215d0556472c7c40e53b0af2d5897239bd2c2e8a447a108fcf694c6006ca2b93 |
File details
Details for the file dearpygui-2.0.0-cp310-cp310-manylinux1_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp310-cp310-manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f749fcd36ffc9cef399fb64b0dab5a4075c63574150a163208f8204f778859 |
|
MD5 | f7e0d49fad04d9ec74dc1ba92e13986f |
|
BLAKE2b-256 | ed3203b21f232abeeb88d40e3e8d53ba08c300f441ce2f6d076df09767ce3c38 |
File details
Details for the file dearpygui-2.0.0-cp310-cp310-macosx_13_0_arm64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp310-cp310-macosx_13_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 340ddc3884740aabcddf696f984c1ff2a06b91050bf5030ab264dc9908f1329a |
|
MD5 | a27ac15139383f36d3b5bd4d05745a91 |
|
BLAKE2b-256 | c48755ec86076fe2d2706f523023da503429a07b76aac2c63133adff8d5c6812 |
File details
Details for the file dearpygui-2.0.0-cp310-cp310-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp310-cp310-macosx_10_6_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.10, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6126eec4217de6dfbe0aef4b96a0f4b385f85dab538ee806d51c5f9a5ba77c6b |
|
MD5 | 3d9976a7e20979f4a5e7e89951a5ed23 |
|
BLAKE2b-256 | 796dc76d935a972593fc62532c684cb92844d990228e09e34e849392930456e5 |
File details
Details for the file dearpygui-2.0.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe10b14f836cea82881fb9f66e464877429ce3ff2fbc3e33d239881cd52bada |
|
MD5 | f984120e742804d6eea1efc2ab15511c |
|
BLAKE2b-256 | ef52938bfdecb527f46615d282ce4dac0a8158f535e0e53401f6a141613868c4 |
File details
Details for the file dearpygui-2.0.0-cp39-cp39-manylinux1_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp39-cp39-manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3f0562d47e664c044bcb75868d7f3cc22456866f32f6b4bad22e377d4eef3a |
|
MD5 | ba7c02c9fcc6e77524a7e9e1b4c501b9 |
|
BLAKE2b-256 | d56ff22e6561a2d34b63c368eda577ab9cff0503017bf6c820c0890ca0185a15 |
File details
Details for the file dearpygui-2.0.0-cp39-cp39-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp39-cp39-macosx_10_6_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.9, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 751f58355631924b17b543db1c366d69ca056f050556952c23e051ebd1a8ac76 |
|
MD5 | a82b854cd6f2e67c28e6847f9e6693aa |
|
BLAKE2b-256 | c4e4f7b52cbe2d0f9838fa2c143e21dc88053fa4e56bd49cf5efab33f61f11f3 |
File details
Details for the file dearpygui-2.0.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52cabe531449804b35e1ac36e48e1cf9b784b1c1752395dabf95df8d607fc2d8 |
|
MD5 | dd81e72e041df0373714755607c5daef |
|
BLAKE2b-256 | d0cd85dcb31f1b40ff04a1d47d50a669439d6340963220cb67577505107e0305 |
File details
Details for the file dearpygui-2.0.0-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400b0a209674dfaf3e223b5465838e1d9fd25102203eed81518ff842f9caf7f1 |
|
MD5 | 0b19d07d04eaadba27e7cb24ca2ffad6 |
|
BLAKE2b-256 | f6a86fb2e28352b8a1c1f6dc6aaa5ab0fa72da8dfd4da56079a6f05433b8a6a9 |
File details
Details for the file dearpygui-2.0.0-cp38-cp38-macosx_10_6_x86_64.whl
.
File metadata
- Download URL: dearpygui-2.0.0-cp38-cp38-macosx_10_6_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aaa549d7e9b4b9e591cd785f9cdbe3650fea724ee099f774e066ad97c374c55 |
|
MD5 | 41c10cdad158285d13ce4f0873c04e17 |
|
BLAKE2b-256 | c81fb9c18eaa260269f8aab3e811725ce5537165f707203e97397dd96557c676 |