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.3.1-cp314-cp314-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.14Windows x86-64

dearpygui-2.3.1-cp314-cp314-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.14

dearpygui-2.3.1-cp314-cp314-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.14

dearpygui-2.3.1-cp314-cp314-macosx_13_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

dearpygui-2.3.1-cp313-cp313-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.13Windows x86-64

dearpygui-2.3.1-cp313-cp313-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.13

dearpygui-2.3.1-cp313-cp313-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13

dearpygui-2.3.1-cp313-cp313-macosx_13_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

dearpygui-2.3.1-cp312-cp312-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.12Windows x86-64

dearpygui-2.3.1-cp312-cp312-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.12

dearpygui-2.3.1-cp312-cp312-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12

dearpygui-2.3.1-cp312-cp312-macosx_13_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

dearpygui-2.3.1-cp311-cp311-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.11Windows x86-64

dearpygui-2.3.1-cp311-cp311-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.11

dearpygui-2.3.1-cp311-cp311-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11

dearpygui-2.3.1-cp311-cp311-macosx_13_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

dearpygui-2.3.1-cp310-cp310-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-2.3.1-cp310-cp310-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.10

dearpygui-2.3.1-cp310-cp310-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10

dearpygui-2.3.1-cp310-cp310-macosx_13_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

dearpygui-2.3.1-cp39-cp39-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-2.3.1-cp39-cp39-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.9

dearpygui-2.3.1-cp39-cp39-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9

dearpygui-2.3.1-cp38-cp38-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-2.3.1-cp38-cp38-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.8

dearpygui-2.3.1-cp38-cp38-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-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.3.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 272cc52c66bc5a4a332f13a3af5e603070d47ca7cc4976e6a8c247594e2b3dd0
MD5 e372fc22cf9b1ad6054884793a0919d2
BLAKE2b-256 8c5693b2310891589063e0226cb07fe05e08fbdb3f409f80f9edefb1cebea84e

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp314-cp314-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 43a561b5dc589944a3a2b469e5e68f1ab35ae38b3dcdf1f813ed9d6e024153f8
MD5 210da444e111a3ba35b05dee77a5db83
BLAKE2b-256 1a6b657a2f1e2f604f356c39ed5b870aaed5d07fdeac3139fae2a455473b64ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp314-cp314-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 953442c7272e57f3686e393edc5cf6ce73cc2f47142739735dfabed403e33770
MD5 738f65cba517356689858d54f1f89275
BLAKE2b-256 f33fac003b6d636c9f5aae910a62d00b6c119403212cf2d7772d7c59ca8ef6dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e2cbabd8d383308ea3520360e100d1e95c9a957cd26247431cd4920b23c3b56e
MD5 72355710de3570aa54ee06b808316598
BLAKE2b-256 4a0868ce3ba941cf09bcf288f2603d7178c936d473172fd545e0665b885cb840

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7946722c50f1e08866dfdb78eb33dd4e67dea1a3cfe4400b159e1c96861116dc
MD5 7f78598c7a8b103e6d4c0905d6867b00
BLAKE2b-256 b33805f74181a59353bdc927b6ec46333714f633c5755f3d4bcda34d6eb100a5

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0d8b7a5a04cd4a6e25dbf162aa0405cf12143a1c82b33e371c20e5ba8d9349f3
MD5 5cee2623c3933e32e346149e418397e2
BLAKE2b-256 d0d187cfb577d4a1615e809e2f6e0fd720bd4ad6cd25e365ef2fd08a6e09c86e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp313-cp313-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e3f64c8d4cae68a3b5be1b7531d08400ccbf1e4ff03c7acfc85954f98993f864
MD5 72cc14d5321e9385d1f879bebcd03f8b
BLAKE2b-256 cce0df598671f40a7fffb8390946115d9e9cf12d3f4a52f5b9381bddc5699aee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d2d29e72b031886893b32269e1478eff1fd651512e6c2bceda91059c3bc8ee0e
MD5 5d0f3a815aaa08838fca141ebdca924c
BLAKE2b-256 42db56a293ad392b8dafdd3eb1a0c4d367efbde99aa6930359685fe270984dd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 26ed9197cdb30099c665bd1b23724e0dba60ad06b71344ecca7e52748c21874b
MD5 5b09c46137558d2614ab5f7998c701c3
BLAKE2b-256 77bee67e5a04439f15e60cf596092a31b2a907272288954e47f5ced43c0b1678

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 199dffebda245c9f59aa7c10c3b7f62963237c5f744150ad9be409b27a2661d3
MD5 5fdf9c44d01e01773487f210fa655525
BLAKE2b-256 f2ef657ec68a79664cd28d98d590eed85103c6ffc1e23e7d3c4e5aedb7ee887d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 364b5b6a0953999fec764d529d9bb0b2cc6ab6ed06188e0ded28237c1475ca98
MD5 cee39266a2583eb0a13b2530ffdda6f4
BLAKE2b-256 cc03fa76c31087b6ebbc13948de6d9d3bc9ed9946824b13d9d1089356b54249c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6b1efd675a358176b3b76c039587a543d407d8fbb2cc3643a527e0ab7c0f5577
MD5 e7c09bfb805117f0d6a53452e712da5e
BLAKE2b-256 20f16f30c7eafa25755105d0c26049a95c89cc5c82b68971e1cc8ffea36b748a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 76ee38696a8f1f3805751b1588c98d9bb6567b033b91cb0f58111fb9fe907b5b
MD5 72bb23979df3cd728d3b28b0d91d522b
BLAKE2b-256 b4db8f15dfe06d104746591c4763a5bba31369b86d861aa916101da8f633bfc6

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp311-cp311-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0259a2db7b6c82459ac1402b0d42388a7cd180cd97d7dcb31a5210725c3171d3
MD5 7ff9b634709f7d918c5f4c7be8bb142f
BLAKE2b-256 0090efaa3dbcdab267638b0b65551c88ea1e994235b74345c8d995b8a0a9d59e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 686423b4f8a30aaf57f1044ec4e3b087beb9cc9b25be812cf92f4e7feff44fd6
MD5 c737804aae8d27e028e822d802805901
BLAKE2b-256 317db2b26e75437a6173e44a89a816d5f1df76537ca2f4b3206a2a787ac9d479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e1a9ffbb845600ab4a171daf2d7e7a1895f5b4433eed248d4cab42766b55fdff
MD5 ef10b63b23201e1e7afe9f38d1817178
BLAKE2b-256 6c4022c00a3b3e47c609ece39b0e1970b8e031ac613201fee065dd93c9cbcb6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 36389e45dda45f91efb1d2d693b2c7198eb987db4799e6442862eba6e5b086bb
MD5 46cd5f94cc8ba5f503ef5088bea9e191
BLAKE2b-256 22bb86c6e8125c7d8b106624bf9c537abdd0f723ca94bb11c18bf25fb16487d8

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp310-cp310-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 853e912c6d1d555711c002f0e1b7d3355b118fe56a42dda92b30e0dbd6528b76
MD5 1684b22a71e42cd2fea6d9b46334480b
BLAKE2b-256 d35ce894ea047be360910320501b4283a2079bd84b1cc03e66bd6999862ee1cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 55ce713722583f1c874bfdb458cc3c0c09200c200419a31128534f7a86f9ccff
MD5 2f0358699dc94191fef3f19bba33620d
BLAKE2b-256 3b20bab626e3e02645fdeba9b67dd1f6296e624a82d023fe2fa186fc4444c4dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8c3db42d9496e1baed8117148718bb69cab671066435d9f312cafb90d0df530c
MD5 90c7dd4c8a317ece1b16e8e3e63ce50c
BLAKE2b-256 49eb78ba8feb7fa01ae3b2eafe94783e5051ec5cf997463c4181840fc89b80c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.3.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 71be98a4403ebb5732fb99d13c4621bd3857a50c9390f247f33c6df336abaa10
MD5 9d0e7473bd1a08b6142c550610d8704e
BLAKE2b-256 b789dc20983f1c5807062a1c519566c69ad188f1bce9b3b097720e4f88dfb576

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp39-cp39-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 21bbdde9c77ee4472e47aea351e649b724bac599eb041515f10c8cd583dbc4ab
MD5 1a1d8223e1f0cbb5db216ab367d63dda
BLAKE2b-256 4b341de22e7ed73437fa589a88cd21bb1d8b30568824b7156ae5c12650bea310

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fc965058229e5c5fd448bce1e3f749174fc7c68c0616bef5d06f5d30a7689ec6
MD5 e09de93b37520770492ad622b0dc4662
BLAKE2b-256 f28341041d25aab6ba9a565916b44556db4f87b627010c77383a11c80a34ae21

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.3.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.3.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 26c50477813b90cc654d6320a1e8b8205dd6478e6c9c2ffcbb5664ce331ff885
MD5 c2dfab55f9dc4ab6c6ffbabe3c97ef93
BLAKE2b-256 9c8c70563465f0a823b899819f8b9cefe10c41edcbf2e944faf7c584ff921470

See more details on using hashes here.

File details

Details for the file dearpygui-2.3.1-cp38-cp38-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 10e6de05dd1441ad8200ff686ad204700dfb931f4fa00e6b58b49641f0d69a26
MD5 41211d2c0b317dfe34d39310658792a4
BLAKE2b-256 95ff8d4a1318c9feea620b00b3e2108d32dcbc5418452c09b208845fd8cf44e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.3.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cd7d63969fb174388bc8c99357fc71c796a8b799d53c03009c0d107fdbccdcad
MD5 6f000c70396771b014c71c07e186fa72
BLAKE2b-256 ebf2dcc70cd8e67b11fd0879b1bf8bc59b3c1fdfd8b40f22a3598a27b0b012bf

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