Skip to main content

DearPyGui: A simple Python GUI Toolkit

Reason this release was yanked:

regression

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.0-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7m

dearpygui-1.7.0-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.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.7.0-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.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 95b845e15c579fec3b422502c86fea4dd37b3fe53cde8e0f58d62381f01d0169
MD5 f57f1051ae96e4e1882647c0cd2931d5
BLAKE2b-256 b5b8fe673b4b64b46ca6c638415a88407323f5c8d1c926cb104a749b81d15fdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 621293153b99d8ee1584cfb28ceb3685e3cd607f8901b3225535f918d7d96ce4
MD5 7b290f35527c343b494efc2943714a08
BLAKE2b-256 530611f1c4db5fdc820bd1d959ddd74d69368da5e52f6b5780323bf806ebda07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.7.0-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.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 200efd08c59e5781e836efb52af5d489b36e7f862ebc528460d8f42e00a4ea9b
MD5 526a78008a3d7210306264592a21f0c2
BLAKE2b-256 3992f2273bb4ff1d21e12d98fd268a934425207b79961fe9684828dd42f5a555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 24b103b727e63d83779e755241599b3b3f5e9106e6d9fc43ad379ea1e05ac614
MD5 14150143bf3adc881d960e79a6e8e072
BLAKE2b-256 b7a7b7b9d8ccaecd2b29b93deca095da5fdd4e08d090bdb715a95327d95708f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.7.0-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.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dd52c7e1aa780beb316c700adfdfb341f09f7361aea394fb47eb82fae2767cfc
MD5 720147b10ab9846d9bf3a24a24f9906b
BLAKE2b-256 427ad6e71f36e22129b60094351c1b7ec0142042b77f3760f34cdb35a33fbbce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 69945c1f9e23125dfd354bf895142aef7bdeeecfc1c512f815b35c7c336d020f
MD5 1dc37457ba10e350d6fde497bf94b0bb
BLAKE2b-256 680d3c5eb2931fc4ece8bc482450caa6a2f57ade128a309cf20a4cc7f27f79f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.7.0-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.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 42105b5ecc7afc70e8998012764bd4d571800f0c90d8e9a435b2bae6ab450db4
MD5 17553473f4d67042e920bdff24d96faa
BLAKE2b-256 f0d9d6ab5c4616a0df0794d8357c071dd9205d708c9c33abd8a4836f226a4695

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 8cba8dea7c53f5b41416dbc6dda55d00d0a66e47dde0ae470d59d20d1b6b693f
MD5 e45354adcdf186bc8938c37453a8b9f0
BLAKE2b-256 e3368499640129de28b9b02049f34c8ed4015f463bd05ef5fe5f0e93e10b2a9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.7.0-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.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 de50832ad40481eec7ca6e23a8a1324e299b5b38b1341f510468d4a0fd4951c7
MD5 33506e03b0ca03f34b20f9cab68dd2b5
BLAKE2b-256 2d0aa6ecfafc1e1a0feec7814444cc6f99fb5027b6ca68db8f174a82b9d67fdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e32919f39f11fb6b1869d426d98994b2cc76ebbcaf224649c03663478e6f81b0
MD5 b8115957b0c26af2829858e22641e301
BLAKE2b-256 38b58b07c9c1675ff266ad0d79c87219e481b2fb020f8eec3c91b2dd7318d736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 98e5fc7100ab52a851c3e7386dcc6a88a8b9baf536a4ed5231967f0991ede852
MD5 1e5e91d17932560459129079c22f98e2
BLAKE2b-256 0dbad7b5123fc786f08862d1b90d827ba3a344a20155f1a6bc34bd1c30bef7bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.7.0-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.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 10558b8bdcfa044cd65a89001db992f120e6dc1cc508497379e2d873195b6121
MD5 02805e245465be0543038e0158ae2538
BLAKE2b-256 ad99274ca51055a994dcf0f45f4920f99290f790fe593345e61b780dc64b91af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 172d6596e62084221d859c473fb62467071e9b7823e8dd9a00343abd852bdbb2
MD5 50bf5065d60b7a388bba548dc99e5172
BLAKE2b-256 23697676e499799a070076d966df2c4b86375fb7c4c10bad5ff7bb375d2e318c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.7.0-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 1b493fdd2f9abfdd08af3ab5623961020d13208a5ec27874e6c1a1d3091950b3
MD5 44da5dc33c14d4a7bc8a199e94b6fb06
BLAKE2b-256 ece6f82ab02ff00c097ca7c2968d51f0ef2389d411e10761ecae44311fd6bd9e

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