Overview
Dear PyGui is a fast and modern GUI framework that uses the GPU for rendering. It's designed to be easy to use while providing high performance and a modern look.
Key features
- GPU acceleration
- Modern design
- High performance
- Easy to use API
- Rich plotting capabilities
Common use cases
- Data visualization
- Real-time applications
- Scientific tools
- Debug interfaces
- Modern desktop applications
Installation
pip install dearpygui
Example
import dearpygui.dearpygui as dpg
dpg.create_context()
dpg.create_viewport()
with dpg.window(label="Hello"):
dpg.add_text("Hello, World!")
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()