Skip to main content


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.

     

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

Release files for dearpygui 1.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for dearpygui 1.7.2
File
dearpygui-1.7.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
dearpygui-1.7.2-cp310-cp310-manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details
dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
dearpygui-1.7.2-cp310-cp310-macosx_10_6_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.6+ x86-64 Details
dearpygui-1.7.2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
dearpygui-1.7.2-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
dearpygui-1.7.2-cp39-cp39-macosx_10_6_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.6+ x86-64 Details
dearpygui-1.7.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
dearpygui-1.7.2-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
dearpygui-1.7.2-cp38-cp38-macosx_10_6_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.6+ x86-64 Details
dearpygui-1.7.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
dearpygui-1.7.2-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
dearpygui-1.7.2-cp37-cp37m-macosx_10_6_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64 Details

Total release size: 31.0 MB

Release files / dearpygui-1.7.2-cp310-cp310-win_amd64.whl

Download URL dearpygui-1.7.2-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6867a9bb9066fc914a72443aabe26b6de8b76cd5c3eda711cd03fc08f638a355
BLAKE2b-256 checksum
How to use checksums
c794f05ec0ef816f38f846a8e5216de114b2f822a02bd5d4929189299aba24b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp310-cp310-manylinux1_x86_64.whl

Download URL dearpygui-1.7.2-cp310-cp310-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0d211ee3a98cd138a084e4df9f3fd41374de5fa0dee2535d29229aa860a239af
BLAKE2b-256 checksum
How to use checksums
b20007a4a29adbd257f8184d8148fcb3c9d3fe3049def0a2098e8cb2f87051f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9da12d225acf351cc577a0353580e0313cf134535715633f1b67a6d0ee3c4d09
BLAKE2b-256 checksum
How to use checksums
1ab58bd34ceec62ab6b0c6666dda2d68eb3a46e1183691236a2b55e33946619e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

Release files / dearpygui-1.7.2-cp310-cp310-macosx_10_6_x86_64.whl

Download URL dearpygui-1.7.2-cp310-cp310-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
10039b0de2e2ff046e1260e4c5b75c03fd66cac63808b363aefbb915a172579f
BLAKE2b-256 checksum
How to use checksums
c37b568c0e18d79cd34c90f6c55a3fd0137b90ac8b420f507f9d05db3fd1f428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp39-cp39-win_amd64.whl

Download URL dearpygui-1.7.2-cp39-cp39-win_amd64.whl
Size 1.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
7dd2f46f52662cb5993f2386a41e8b8bf87222d82d7362bd7d193042abf5f861
BLAKE2b-256 checksum
How to use checksums
950497f6e3a646f1cc2edb05f182df5d4e4c0a3f673606d2a0f537618b5daab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp39-cp39-manylinux1_x86_64.whl

Download URL dearpygui-1.7.2-cp39-cp39-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f55cf4020bd1bcaa0e6c5909541716fc86b66b4f46d9ec837e139f4237a693a6
BLAKE2b-256 checksum
How to use checksums
572d0fc2b8d0ad159439e2b5806eadd335b87b664b2655ec14b0c30f92a63eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl

Download URL dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
58e769886f42ec4843ebe72a9d8a2d5eea9407bfcf74cce1eb37c7aaa11aaaef
BLAKE2b-256 checksum
How to use checksums
e7798a7110120f1e2b24f53eab957db53d6125fce65d3fbf35a1cd8ea409badc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

Release files / dearpygui-1.7.2-cp39-cp39-macosx_10_6_x86_64.whl

Download URL dearpygui-1.7.2-cp39-cp39-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.9 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
c2a12d9ba2751c798283df69b28176bcec1ec72e62443151c8bb6f7be57a2379
BLAKE2b-256 checksum
How to use checksums
687e6e6a87a1dc386c6fbb6a7e4996dd2ecf03cf2773954254689fa2550a9472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp38-cp38-win_amd64.whl

Download URL dearpygui-1.7.2-cp38-cp38-win_amd64.whl
Size 1.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
89016ac537ec6c788d704605ee3c4001668d3e0124d47e5902b0d8a23e76a2c6
BLAKE2b-256 checksum
How to use checksums
67dea74e7b6c92998809644a71ab409ae8c855e942fa9eec9cd70df14223f5ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp38-cp38-manylinux1_x86_64.whl

Download URL dearpygui-1.7.2-cp38-cp38-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
d096c79f5ac3144b7454e03efb23595aa482b48119ed6827cd63c54190f36954
BLAKE2b-256 checksum
How to use checksums
ef7840fb7da5aed4012601744f9a3f344095b2fc5c42801bfb5cfe53fc4bb108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp38-cp38-macosx_10_6_x86_64.whl

Download URL dearpygui-1.7.2-cp38-cp38-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.8 macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
0f9262ade1a3e5d9c7e51d3e491d58c919687de9591d7620d316b9bad8f04340
BLAKE2b-256 checksum
How to use checksums
5854b663d4a512d4319bee0bdbd7d745e1624085621bf51d4df5e8b96d69022c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp37-cp37m-win_amd64.whl

Download URL dearpygui-1.7.2-cp37-cp37m-win_amd64.whl
Size 1.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b924e6d554f70e6a616cb670515c032e59aca7581b3d695ddb29c21d29899470
BLAKE2b-256 checksum
How to use checksums
9503b16b87da15a63e84affcf9d6c6ce0e6bc8f026240db26253a7a5596150b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp37-cp37m-manylinux1_x86_64.whl

Download URL dearpygui-1.7.2-cp37-cp37m-manylinux1_x86_64.whl
Size 2.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
91c5af62ff68971c10f4a6840c4eaf22ff1af51eb20cb892db40acd429b34497
BLAKE2b-256 checksum
How to use checksums
d8d163c41ef07e46baea763e6912ac5bd88936321045720f43faf30e38919c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / dearpygui-1.7.2-cp37-cp37m-macosx_10_6_x86_64.whl

Download URL dearpygui-1.7.2-cp37-cp37m-macosx_10_6_x86_64.whl
Size 2.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ x86-64
SHA-256 checksum
How to use checksums
9d987fe598bba9a6c9575fccb32da692a5f24063d7f7e67e398f9fb48cf2f65a
BLAKE2b-256 checksum
How to use checksums
243a774c78923f17e5c0bb98671da13e147ed6487705f52ac752c41e8f682195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

2.3

26 release files

2.2

19 release files

2.1.1

26 release files

2.0.0

22 release files

1.9.0

18 release files

1.8.0

18 release files

1.7.3

14 release files

This release

1.7.2 This release

14 release files

1.7.1

14 release files

1.6.1

14 release files

1.6.0

15 release files

1.5.0

15 release files

1.3.1

17 release files

1.3.0

15 release files

1.2

16 release files

1.1.3

15 release files

1.1.1

16 release files

1.1

16 release files

1.0.2

16 release files

1.0.1

16 release files

1.0.0

16 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page