Skip to main content

DearPyGui: A simple Python GUI Toolkit

Project description


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

FeaturesInstallationHow To UseDemoResourcesSupportTech stackCreditsLicenseGallery


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.

     

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.


BasicUsageExample

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

dearpygui-1.7.2-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-1.7.2-cp310-cp310-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10

dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dearpygui-1.7.2-cp310-cp310-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10macOS 10.6+ x86-64

dearpygui-1.7.2-cp39-cp39-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-1.7.2-cp39-cp39-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9

dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

dearpygui-1.7.2-cp39-cp39-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9macOS 10.6+ x86-64

dearpygui-1.7.2-cp38-cp38-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-1.7.2-cp38-cp38-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.8

dearpygui-1.7.2-cp38-cp38-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8macOS 10.6+ x86-64

dearpygui-1.7.2-cp37-cp37m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.7.2-cp37-cp37m-manylinux1_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.7m

dearpygui-1.7.2-cp37-cp37m-macosx_10_6_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ x86-64

File details

Details for the file dearpygui-1.7.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.7.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dearpygui-1.7.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6867a9bb9066fc914a72443aabe26b6de8b76cd5c3eda711cd03fc08f638a355
MD5 80c927c0f4f03d57e7cfb5ceeca5c4ba
BLAKE2b-256 c794f05ec0ef816f38f846a8e5216de114b2f822a02bd5d4929189299aba24b5

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0d211ee3a98cd138a084e4df9f3fd41374de5fa0dee2535d29229aa860a239af
MD5 01fe09540cfd2add9b0ddc7a118ba1e9
BLAKE2b-256 b20007a4a29adbd257f8184d8148fcb3c9d3fe3049def0a2098e8cb2f87051f0

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.7.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9da12d225acf351cc577a0353580e0313cf134535715633f1b67a6d0ee3c4d09
MD5 db689aeb9bf79f2f99f98e8a11fe240e
BLAKE2b-256 1ab58bd34ceec62ab6b0c6666dda2d68eb3a46e1183691236a2b55e33946619e

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp310-cp310-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 10039b0de2e2ff046e1260e4c5b75c03fd66cac63808b363aefbb915a172579f
MD5 860f64b299729b4f7c337faae1f4bc7c
BLAKE2b-256 c37b568c0e18d79cd34c90f6c55a3fd0137b90ac8b420f507f9d05db3fd1f428

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.7.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dearpygui-1.7.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7dd2f46f52662cb5993f2386a41e8b8bf87222d82d7362bd7d193042abf5f861
MD5 251703d4dfabd48f2fc2dcd19df0d12c
BLAKE2b-256 950497f6e3a646f1cc2edb05f182df5d4e4c0a3f673606d2a0f537618b5daab0

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp39-cp39-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f55cf4020bd1bcaa0e6c5909541716fc86b66b4f46d9ec837e139f4237a693a6
MD5 959f6feb5ddde190faf621a64fa92eb9
BLAKE2b-256 572d0fc2b8d0ad159439e2b5806eadd335b87b664b2655ec14b0c30f92a63eb0

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using 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

File hashes

Hashes for dearpygui-1.7.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58e769886f42ec4843ebe72a9d8a2d5eea9407bfcf74cce1eb37c7aaa11aaaef
MD5 89cd10b6eabbb6b81ab0658b41d98868
BLAKE2b-256 e7798a7110120f1e2b24f53eab957db53d6125fce65d3fbf35a1cd8ea409badc

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp39-cp39-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 c2a12d9ba2751c798283df69b28176bcec1ec72e62443151c8bb6f7be57a2379
MD5 1131c49ef70e8defdfb7326f765adcfd
BLAKE2b-256 687e6e6a87a1dc386c6fbb6a7e4996dd2ecf03cf2773954254689fa2550a9472

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.7.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dearpygui-1.7.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 89016ac537ec6c788d704605ee3c4001668d3e0124d47e5902b0d8a23e76a2c6
MD5 cc232964d17ce3403e241d1043bfd387
BLAKE2b-256 67dea74e7b6c92998809644a71ab409ae8c855e942fa9eec9cd70df14223f5ea

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d096c79f5ac3144b7454e03efb23595aa482b48119ed6827cd63c54190f36954
MD5 72cbcb15458bf3eb01b348510eb83183
BLAKE2b-256 ef7840fb7da5aed4012601744f9a3f344095b2fc5c42801bfb5cfe53fc4bb108

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp38-cp38-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 0f9262ade1a3e5d9c7e51d3e491d58c919687de9591d7620d316b9bad8f04340
MD5 b37dad669e089e3ef3f6bd3ad2544611
BLAKE2b-256 5854b663d4a512d4319bee0bdbd7d745e1624085621bf51d4df5e8b96d69022c

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.7.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for dearpygui-1.7.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b924e6d554f70e6a616cb670515c032e59aca7581b3d695ddb29c21d29899470
MD5 3c3032216c2e5987994d82096983e8cf
BLAKE2b-256 9503b16b87da15a63e84affcf9d6c6ce0e6bc8f026240db26253a7a5596150b6

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 91c5af62ff68971c10f4a6840c4eaf22ff1af51eb20cb892db40acd429b34497
MD5 ccefcffb0459c72c665dd0bc760eb3cf
BLAKE2b-256 d8d163c41ef07e46baea763e6912ac5bd88936321045720f43faf30e38919c58

See more details on using hashes here.

File details

Details for the file dearpygui-1.7.2-cp37-cp37m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-1.7.2-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 9d987fe598bba9a6c9575fccb32da692a5f24063d7f7e67e398f9fb48cf2f65a
MD5 c65a74fac81f512a1b3256761167b3ec
BLAKE2b-256 243a774c78923f17e5c0bb98671da13e147ed6487705f52ac752c41e8f682195

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page