DearPyGui: A simple Python GUI Toolkit
Project description
(This library is available under a free and permissive license however, if you Enjoy Dear PyGui please consider becoming a Sponsor)
Dear PyGui is a simple to use (but powerful) Python GUI framework. Dear PyGui provides a wrapping of Dear ImGui which simulates a traditional retained mode GUI (as opposed to Dear ImGui's immediate mode paradigm).
Dear PyGui is fundamentally different than other Python GUI frameworks. Under the hood, Dear PyGui uses the immediate mode paradigm and your computer's GPU to facilitate extremely dynamic interfaces. Dear PyGui is currently supported on the following platforms:
Platform | Rendering API |
---|---|
Windows 10 | DirectX 11 |
macOs | Metal |
Linux | OpenGL 3 |
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.
Installing - Usage - Resources - Support |
---|
Features - Sponsors - Credits - License |
Installation
Ensure you have at least Python 3.6 64bit.
pip install dearpygui
or
pip3 install dearpygui
Resources
- Documentation comprehensive documentaion, tutorials, and examples.
- Development Roadmap future features and changes.
- Internal Documentation: Run the
show_documentation
command from within the library to view an reference guide. - Complete Demo: You can also view a mostly complete showcase of Dear PyGui by running the
show_demo
command found in dearpygui.demo.
Usage
Using Dear PyGui is a simple as creating a python script like the one below:
Code:
from dearpygui import core, simple
def save_callback(sender, data):
print("Save Clicked")
with simple.window("Example Window"):
core.add_text("Hello world")
core.add_button("Save", callback=save_callback)
core.add_input_text("string")
core.add_slider_float("float")
core.start_dearpygui()
Result:
Some Features
Plotting/Graphing
Dear PyGui includes a plotting API (ImPlot Wrapping)
Themes
Dear PyGui currently includes 10 themes and you can create your own:
Canvas
Dear PyGui includes a drawing API to create custom drawings, plot, and even 2D games.
Tools
Dear PyGui includes several tools to help developers with DearPyGui app development including built-in documentation, logging, source viewer, and other tools:
Support
If you are having issues or want to help, here are some places you can go:
Sponsors
If you enjoy Dear PyGui please consider becoming a sponsor.
Ongoing Dear PyGui development is financially supported by users and private sponsors.
These include:
- 🏢 Tkachenko Igor Corporate Sponsor
- 🏆 Dean Keinan Partner Sponsor
- 🏆 何凌锋 Partner Sponsor
- 🏆 Nikki Luzader Partner Sponsor
- 🥇 Caden Bloxham Gold Sponsor
- 🥇 Michael Kadziela Gold Sponsor
- 🥇 Yan Zaretskiy Gold Sponsor
- 🥇 Trinnik Gold Sponsor
- 🥇 Derek Barker Gold Sponsor
Thank you to all other sponsors for keeping this project moving forward!
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
License
Dear PyGui is licensed under the MIT License.
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
Hashes for dearpygui-0.6.415-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7026fb4441f5e299468c24234bd7f53d934e16100ca1e626255d608ca4b34aff |
|
MD5 | b3974c68a8cf3bb87aa9e1a53cd78817 |
|
BLAKE2b-256 | e25c1d9909c6bee03c5685dfb51d173e71f5af96b19e7fa1051ae4760709c150 |
Hashes for dearpygui-0.6.415-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 634c5a94745ce2a06c354782ac9423f2ce1418bc14b0d4e33c2551d662b29142 |
|
MD5 | 3e27e226e97ead6a4bd83ad63f18c532 |
|
BLAKE2b-256 | 57def35e20e34b018b7195c5a33a88faed426ed27e8523cd1dbdbdb18777cc33 |
Hashes for dearpygui-0.6.415-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972742b60aef576d04fe6fcfe31491442ce57bfe40273b9387c46fecac5e7609 |
|
MD5 | 0e509376445a0e606d6c0441c1e71cd7 |
|
BLAKE2b-256 | fb359a4baeed5e467ec45b3235fd7cfc30239e7acad7612a6bea25888c0f4c8f |
Hashes for dearpygui-0.6.415-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3754903e09edfadce849d345f156323a5fb67e6049a2f2fef3d4ec04b3f92a90 |
|
MD5 | 528e99681c6f7f30df3ebcd03a10cace |
|
BLAKE2b-256 | 924d4e1cd23f86e61b927b803d26d62e60545b0e7295450b4f73e50256be7f50 |
Hashes for dearpygui-0.6.415-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62f2976ecbf5493491a0b0300c9e75b8b1b9bf397358466b1730c8b7bfb5351 |
|
MD5 | 4ed305ad0255f6eb16f8f9a8759c8106 |
|
BLAKE2b-256 | 98c1725522c143da1170d65fd215215acf022ec1ecbe08a4d4020575a76d8707 |
Hashes for dearpygui-0.6.415-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6edc677adebd36908f8bc034bf12a767a2a869bbb37b209a9548a7526c6a361 |
|
MD5 | 163b87df9535167b45841042f7286ddc |
|
BLAKE2b-256 | fb04ac1eb9fe4de25ebb7ed0bc411e3a359f2ecf5b1dee194f0735fece4e4ea5 |
Hashes for dearpygui-0.6.415-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adacc0ea245a288150dd1dcd4a4208a8de72c7aeff3d7c43a9f88f0d92d4a1ec |
|
MD5 | d3d7d138c8739831d2df07de37d69910 |
|
BLAKE2b-256 | 07690a6548d9051f3a4b02c0859ac1167de779faf1414904bc3ee6d96af3dac6 |
Hashes for dearpygui-0.6.415-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 735fd91467febaea5d648d54fac24fd65d92e8aebce57a4e39a690db7cc02e8b |
|
MD5 | d53c8db4ea563e13775802dfa1bcd01e |
|
BLAKE2b-256 | 1e6a39e1ac96a449304a3ed64cc0dde0860821ee8561b691fbd24e62958dc103 |
Hashes for dearpygui-0.6.415-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc7132f541dd1df90d68a813e8a6d5820ec6bea52ed96918d4e84505fe3d366 |
|
MD5 | b4fb9c67c0ebd75eddc15003af756e30 |
|
BLAKE2b-256 | e71baea69b4d9d35bb5074344518e79f7ba96e562e4ae2a54f0809c6ea70724e |
Hashes for dearpygui-0.6.415-cp37-cp37m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2a7dbe1fc428a076eec09be89cef35e320d06d974d405d9e27869a499794f32 |
|
MD5 | a924da2b918ddcdd71e13a1f764fe592 |
|
BLAKE2b-256 | 11cd590fd27fdc83ac38ec208041199d87c049bc96290deb6104af8a79aaab71 |
Hashes for dearpygui-0.6.415-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7bb980c8547a026c74fcfc7ab739dbc0caf8f07fad4c2307d224a647af21c2e |
|
MD5 | 8ccaa974f055555b1e2d0579dbab0684 |
|
BLAKE2b-256 | 846a720742c3a6a5d7d850bfdc4ab76ea9b650a67cdce992f634cec5a4c168d3 |
Hashes for dearpygui-0.6.415-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 910a6eaf9c81cb3591c80b87b3943018f31926cfe81495a091423ab46f53aea4 |
|
MD5 | f939131d67d6be66cc7a7277d7df88ef |
|
BLAKE2b-256 | 8ac0ba106a1bbe467fe3a330cf23fab0bb2c0aa3db527661c7000402c8f512e6 |
Hashes for dearpygui-0.6.415-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35cb3909383813e6a6149f533a7ffc1632407826b4323006be743f6fa42c283c |
|
MD5 | 9f038eb82f0c0115b3343ea5cf28237e |
|
BLAKE2b-256 | afdaeccdce4e55b4dd8e8f4d2772e46b4f14c3e58f8c2dd7734154b6b1118eaf |