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

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.8 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. To run the demo, you can run:

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.



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

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.

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

If you're not sure about the file name format, learn more about wheel file names.

dearpygui-2.2-cp314-cp314-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.14Windows x86-64

dearpygui-2.2-cp314-cp314-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.14

dearpygui-2.2-cp314-cp314-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

dearpygui-2.2-cp313-cp313-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.13Windows x86-64

dearpygui-2.2-cp313-cp313-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.13

dearpygui-2.2-cp313-cp313-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

dearpygui-2.2-cp312-cp312-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.12Windows x86-64

dearpygui-2.2-cp312-cp312-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.12

dearpygui-2.2-cp312-cp312-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

dearpygui-2.2-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

dearpygui-2.2-cp311-cp311-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11

dearpygui-2.2-cp311-cp311-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

dearpygui-2.2-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-2.2-cp310-cp310-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10

dearpygui-2.2-cp310-cp310-macosx_13_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

dearpygui-2.2-cp39-cp39-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-2.2-cp39-cp39-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9

dearpygui-2.2-cp38-cp38-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-2.2-cp38-cp38-manylinux1_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8

File details

Details for the file dearpygui-2.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: dearpygui-2.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 fe3c8dc37be3ddce0356afb0c16721c0e485a4c94a831886935a0692bb9a9966
MD5 a7317cfbc30671e3d53610cd777f284b
BLAKE2b-256 f803aeb4ebe09a0240c8c9337018d2ac3e087fd911f6051a3bb0131248fbd942

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp314-cp314-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp314-cp314-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dcc9377d8d9fe27f659ae6b016fe96aa37d8b26b57ce60c47985290e1be7801e
MD5 1f86b498a7940f906221c5a85c7be480
BLAKE2b-256 52ac8e591f33a712563742fe77b0731c1c900fe2fcc3d3e75bd4c7d8e60057a8

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 22451146968729429ba37afa2602957dfefc03ff92dcc627dd4d85ba3f93e771
MD5 369f90628c59124f3012523f1aeb77ab
BLAKE2b-256 8b763ccaec465021b647f13c83be42a635043a08255076984a658ed691701498

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: dearpygui-2.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 500087e88d61b4ef0c841f30b12a05f5128774db3883fde7ff7c6172f03f6d79
MD5 993b538a0918c1934658ba324a0b7a81
BLAKE2b-256 6e5a573df5f7277a13b5044daa9a27797fbd4e766da03cab6462a151b557727c

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp313-cp313-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp313-cp313-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 05d8c18a0134d72f680e333c80ccab264351170293f86a05f5a0e14222992f27
MD5 1242e4246d9a00ea6f398cd0de460044
BLAKE2b-256 bc035988d5f4cf3ddc7c3d886623bb904b76c5f5f628a0256ac53d848df33cf7

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 084c309c56d3e05fcf75eef872df6df97f5e3e19da5ecad393a57cf7a5e56294
MD5 7a40c5784e2f0cfcb32d64c18f3347ee
BLAKE2b-256 18abeb8070ca8fd881d4a9ac49fca5fb7b54ce66cc2742afa38e59d72b2c2dec

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: dearpygui-2.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7d399543b5a26ab6426ef3bbd776e55520b491b3e169647bde5e6b2de3701b35
MD5 6f0a2f5d6540ec890f1da7c32ac13145
BLAKE2b-256 80baeae13acaad479f522db853e8b1ccd695a7bc8da2b9685c1d70a3b318df89

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp312-cp312-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e1fae9ae59fec0e41773df64c80311a6ba67696219dde5506a2a4c013e8bcdfa
MD5 620e34ffbb6b4d8c61cd8a0f877b9fd2
BLAKE2b-256 4393a2d083b2e0edb095be815662cc41e40cf9ea7b65d6323e47bb30df7eb284

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 34ceae1ca1b65444e49012d6851312e44f08713da1b8cc0150cf41f1c207af9c
MD5 fb2204854cfea01d1d2dad3edc79dccf
BLAKE2b-256 17c8b4afdac89c7bf458513366af3143f7383d7b09721637989c95788d93e24c

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: dearpygui-2.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d5a38e58a03a41e09915f9b026759899d772d32e920bcd114d1b3f344946e0f0
MD5 5e789e6feb418af0ff999b7a7dc413e0
BLAKE2b-256 58ca3683b74526a869403ca63bac33c47c8d1bbabe57d186eb33490b5d18459a

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 87c16bc00b94ee748c8c156c10f353b7f0b6e843ecec54121cb3b9f254abf940
MD5 d4a31ec85cdd656df17b159d1a272a3d
BLAKE2b-256 01a16c40624fcaa0ea429aa2b6906b19c639175de0677b2af52f00c2794a56ce

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a2dbbd975e1dbdf4688ef49b95651192b6417c8722e470b9ad2b7f5029555c63
MD5 ef456ddfa7b6e05dc08d90532ff5e0cb
BLAKE2b-256 b780c62a26549688a9a2251fede8c1ba10f5e41964a4bb97dba486bcb1e0be28

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9872af7c4d1c7f8b4f1031c1c333ff83c778332674ac3d54178fa7ca0230c6ab
MD5 905c3c8bad332b72774e993ccc1fc798
BLAKE2b-256 58e04be23bd80453b5ee216319a1f2005b57a7c25d00872056f7a96a0a21ef4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8b42ebd0a73ddf03ab5fb0777636216035716089ae449f904fe37ccebbed0061
MD5 f137b237e3e40b1502fe16eb2e3d72ca
BLAKE2b-256 28f5dbd692d64a27c94d7bf4f05b87a4bd74bcd61699248a7fb1166635cef17a

See more details on using hashes here.

File details

Details for the file dearpygui-2.2-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dearpygui-2.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9805b99abcdf89b18c6877cfd4865f844398e1c555316d2f7347b1e8e62f29fd
MD5 8d37fea260ecf305a72c4b0001e442d1
BLAKE2b-256 5971114626e9b77b07b2d5d92e0030b00b4a78e73de1212cbe63656af3da636e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c16607014d3dbb8537b636fcf86b0282d2177a4ac2154bf0ac24cdddab82279a
MD5 f9b78e013470dd214ed590531bed9c8c
BLAKE2b-256 e5e064d0e0adc4acb0cf0863e19160de21b7779ff003b35ab34795bf1bf31773

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9be4381cd4fcf9dab0e8eb7a11455296fb804875fb756c9a4c0aef59a8aabc12
MD5 ca84e70552356018ca77c001e2ddc736
BLAKE2b-256 d21041035b530b4d6968a0860f625db42928387138d98db31e86112fc177098f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-2.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 338be498ba1a44ec0fca79d4d990cb875127ef3c8b91e2d8ead28606f306accf
MD5 ad41ec1964986ca032c0235c3dc9f1ab
BLAKE2b-256 f94a92e20ffffb18c53de699cf1d5cca29e46f3bf507b4516f9fe5d3536a700d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e732d1aa077f71351c69b2566f15ae91aa6ea313e57febbe6c6e95add02ff504
MD5 37f10b3a4a538d2f6724b6119c548b97
BLAKE2b-256 aec61cf085212da28f8ffb3a5ec4d9645759ea07a504d4298715c865b12d58db

See more details on using hashes here.

Supported by

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