dearpygui
Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 72 committers (1.4%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
Basic Info
- Host: GitHub
- Owner: hoffstadt
- License: mit
- Language: C++
- Default Branch: master
- Homepage: https://dearpygui.readthedocs.io/en/latest/
- Size: 139 MB
Statistics
- Stars: 14,575
- Watchers: 165
- Forks: 730
- Open Issues: 397
- Releases: 27
Topics
Metadata Files
README.md
A modern, fast and powerful GUI framework for Python
Features • Installation • How To Use • Demo • Resources • Support • Tech stack • Credits • License • Gallery
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.
```Python import dearpygui.dearpygui as dpg
def save_callback(): print("Save Clicked")
dpg.createcontext() dpg.createviewport() dpg.setup_dearpygui()
with dpg.window(label="Example Window"): dpg.addtext("Hello world") dpg.addbutton(label="Save", callback=savecallback) dpg.addinputtext(label="string") dpg.addslider_float(label="float")
dpg.showviewport()
dpg.startdearpygui()
dpg.destroycontext()
```
<img src="https://raw.githubusercontent.com/hoffstadt/DearPyGui/assets/readme/first
Demo
The built-in demo shows all of Dear PyGui's functionality. To run the demo, you can run:
bash
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:
- Development Roadmap
- FAQ
- Feature Tracker
- Bug Tracker
- Useful code snippets demonstrating best practices
- Showcase apps including source code :star:
- Showcase apps made with older versions of Dear PyGui
- Useful tools and widgets
Support
If you are having issues or want to help, here are some places you can go. - Discord Forum 💬 - 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 | |
| macOS | Metal |
|
| Linux | OpenGL 3 |
|
| 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.
Owner
- Name: Jonathan Hoffstadt
- Login: hoffstadt
- Kind: user
- Location: Houston, Texas
- Company: Metecs/NASA
- Website: https://jonathanhoffstadt.com/
- Twitter: jhoffs1
- Repositories: 6
- Profile: https://github.com/hoffstadt
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jonathan Hoffstadt | j****t@y****m | 2,317 |
| Preston Cothren | p****n@y****m | 199 |
| Samuele Mazzi | s****i@m****h | 74 |
| Jonathan Hoffstadt | 3****C | 60 |
| Vladimir Ein | v****b@o****m | 37 |
| Fabio Spanò | f****o@m****h | 13 |
| Illu | 5****t | 9 |
| Jah-On | 5****n | 8 |
| Felix Uhl | i****t | 6 |
| Raccoon | 9****d | 5 |
| Jonathan Hoffstadt | j****t@J****l | 4 |
| CodeCox | 4****x | 4 |
| liu-kan | l****n | 4 |
| DataExplorerUser | 5****r | 3 |
| Jonathan Matthysen | 5****n | 3 |
| Tim Keller | g****1@g****m | 3 |
| Jonathan Hoffstadt | p****t@y****m | 3 |
| İbrahim Uysal | 7****v | 2 |
| vanekrus | 3****s | 2 |
| mmorandi | m****i | 2 |
| Tim Sweeney | m****m@g****m | 2 |
| Romans | 7****s | 2 |
| Praveen | 2****0 | 2 |
| Mohammed Chamma | h****d@g****m | 2 |
| Ily | 9****3 | 2 |
| David Keck | 3****e | 2 |
| Anthony Doupe | 7****s | 2 |
| Adel Atallah | 2****e | 2 |
| MadOctopus | l****i@g****m | 1 |
| 99hats | k****h@9****m | 1 |
| and 42 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 434
- Total pull requests: 101
- Average time to close issues: 5 months
- Average time to close pull requests: about 2 months
- Total issue authors: 300
- Total pull request authors: 35
- Average comments per issue: 3.0
- Average comments per pull request: 1.39
- Merged pull requests: 65
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 92
- Pull requests: 35
- Average time to close issues: 23 days
- Average time to close pull requests: 25 days
- Issue authors: 64
- Pull request authors: 7
- Average comments per issue: 1.61
- Average comments per pull request: 0.74
- Merged pull requests: 21
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- v-ein (28)
- monkeycc (19)
- nehonpa (13)
- giogina (6)
- ltmsyvag (6)
- Atlamillias (5)
- sailfish009 (4)
- kuchi (4)
- EssenWorkbench (4)
- my1e5 (4)
- axeldavy (4)
- ndahn (3)
- Umbrella167 (3)
- ray-5050 (3)
- fedeocire (3)
Pull Request Authors
- v-ein (57)
- SamuMazzi (20)
- nvglucifer (7)
- bandit-masked (4)
- Mstpyt (4)
- wcq062821 (2)
- Atlamillias (2)
- DokaebiYe (2)
- bzczb (2)
- axeldavy (2)
- v01d-gh (2)
- ddddhm1234 (2)
- abellgithub (2)
- my1e5 (2)
- jschmer (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 7
-
Total downloads:
- pypi 92,163 last-month
- Total docker downloads: 297
-
Total dependent packages: 45
(may contain duplicates) -
Total dependent repositories: 393
(may contain duplicates) - Total versions: 87
- Total maintainers: 2
pypi.org: dearpygui
DearPyGui: A simple Python GUI Toolkit
- Homepage: https://github.com/hoffstadt/DearPyGui
- Documentation: https://dearpygui.readthedocs.io/
- License: MIT
-
Latest release: 2.1.0
published 8 months ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/hoffstadt/dearpygui
- Documentation: https://pkg.go.dev/github.com/hoffstadt/dearpygui#section-documentation
- License: mit
-
Latest release: v2.1.0+incompatible
published 8 months ago
Rankings
proxy.golang.org: github.com/hoffstadt/DearPyGui
- Documentation: https://pkg.go.dev/github.com/hoffstadt/DearPyGui#section-documentation
- License: mit
-
Latest release: v2.1.0+incompatible
published 8 months ago
Rankings
pypi.org: pixels
DearPyGui: A simple Python GUI Toolkit
- Homepage: https://github.com/hoffstadt/DearPyGui
- Documentation: https://pixels.readthedocs.io/
- License: MIT
-
Latest release: 0.0.1a0
published over 4 years ago
Rankings
Maintainers (1)
pypi.org: voxels
DearPyGui: A simple Python GUI Toolkit
- Homepage: https://github.com/hoffstadt/DearPyGui
- Documentation: https://voxels.readthedocs.io/
- License: MIT
-
Latest release: 0.0.1a0
published over 4 years ago
Rankings
Maintainers (1)
pypi.org: improved-dearpygui
DearPyGui: A simple Python GUI Toolkit
- Homepage: https://github.com/hoffstadt/DearPyGui
- Documentation: https://improved-dearpygui.readthedocs.io/
- License: MIT
Rankings
Maintainers (1)
pypi.org: dearpyguiupdated
DearPyGui: A simple Python GUI Toolkit
- Homepage: https://github.com/hoffstadt/DearPyGui
- Documentation: https://dearpyguiupdated.readthedocs.io/
- License: MIT
-
Latest release: 1.11.2
published over 1 year ago

