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

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13

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

Uploaded CPython 3.13macOS 13.0+ ARM64

dearpygui-2.1.0-cp313-cp313-macosx_10_6_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13macOS 10.6+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12

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

Uploaded CPython 3.12macOS 13.0+ ARM64

dearpygui-2.1.0-cp312-cp312-macosx_10_6_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12macOS 10.6+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11

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

Uploaded CPython 3.11macOS 13.0+ ARM64

dearpygui-2.1.0-cp311-cp311-macosx_10_6_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 10.6+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 13.0+ ARM64

dearpygui-2.1.0-cp310-cp310-macosx_10_6_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

dearpygui-2.1.0-cp39-cp39-macosx_10_6_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

dearpygui-2.1.0-cp38-cp38-macosx_10_6_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8macOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-2.1.0-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.1.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 205def95d6862e80ee908d080f5a8065f30421d87ddfa88a3607a5c8e253a9bb
MD5 6122a1392addfa6248376f4b7772bc05
BLAKE2b-256 7ac77d9f839516cb30a5f55c6a1055fa518d986dae841ae2ecccdea9cea266b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp313-cp313-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3900ce7f68e8967dc937adbd9088a7c294fd676fa878d9905e4f25b0d76232ae
MD5 07de9ef0e4efd109e25b3010dd4bc2fc
BLAKE2b-256 2cd38dcfc6df643834706b5ee72f169121db519aab4aa270ba9de41908013ee3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f776c4c81195b2e7248305db21c7d429881d306a9557a8a4e4f002eb477cd247
MD5 4a28d08efc918c94e5cc4a71bc5dad20
BLAKE2b-256 74c6ad8054a70069f5777639c1376892b946fa009ad0ed7b1009f75428458367

See more details on using hashes here.

File details

Details for the file dearpygui-2.1.0-cp313-cp313-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp313-cp313-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 5c32402f75f87ca23faedc626975f546098bcbc71e1dc8b22ddc6054f4c800f1
MD5 414938788325c82cb7c9ba547d77d457
BLAKE2b-256 8b844efef98dc19140155c3bbc173473f8ca01ec0b10c5175598acd93b82d8a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.1.0-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.1.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 43f0e4db9402f44fc3683a1f5c703564819de18cc15a042de7f1ed1c8cb5d148
MD5 4d6fdf77e191e6b6e1bd467215561900
BLAKE2b-256 289c3ab33927f1d8c839c5b7033a33d44fc9f0aeb00c264fc9772cb7555a03c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a3ca8cf788db63ef7e2e8d6f277631b607d548b37606f080ca1b42b1f0a9b183
MD5 20fd0cd3e475b7921f7887358c914d68
BLAKE2b-256 fc26c29998ffeb5eb8d638f307851e51a81c8bd4aeaf89ad660fc67ea4d1ac1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ce9969eb62057b9d4c88a8baaed13b5fbe4058caa9faf5b19fec89da75aece3d
MD5 109c241c7026ea620238059a803b3daf
BLAKE2b-256 a7b239d820796b7ac4d0ebf93306c1f031bf3516b159408286f1fb495c6babeb

See more details on using hashes here.

File details

Details for the file dearpygui-2.1.0-cp312-cp312-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp312-cp312-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 1270ceb9cdb8ecc047c42477ccaa075b7864b314a5d09191f9280a24c8aa90a0
MD5 293d89e7eb414cc130a9a2ebedbe21cd
BLAKE2b-256 559d20a55786cc9d9266395544463d5db3be3528f7d5244bc52ba760de5dcc2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.1.0-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.1.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a9af54f96d3ef30c5db9d12cdf3266f005507396fb0da2e12e6b22b662161070
MD5 748eef4e154945ec9091bfd7b42005b5
BLAKE2b-256 7fdbed4db0bb3d88e7a8c405472641419086bef9632c4b8b0489dc0c43519c0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b0cfd7ac7eaa090fc22d6aa60fc4b527fc631cee10c348e4d8df92bb39af03d2
MD5 8f1b2bc3bfadb6582b81de0c4c1bb5c2
BLAKE2b-256 5a3caf5673b50699e1734296a0b5bcef39bb6989175b001ad1f9b0e7888ad90d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b5b37710c3fa135c48e2347f39ecd1f415146e86db5d404707a0bf72d16bd304
MD5 76002ffa8df3c2f78625c6135e1e8122
BLAKE2b-256 c44d9fa1c3156ba7bbf4dc89e2e322998752fccfdc3575923a98dd6a4da48911

See more details on using hashes here.

File details

Details for the file dearpygui-2.1.0-cp311-cp311-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp311-cp311-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 03e5dc0b3dd2f7965e50bbe41f3316a814408064b582586de994d93afedb125c
MD5 9232c40cd3d9e352355e61aa518bcaac
BLAKE2b-256 92fe66293fc40254a29f060efd3398f2b1001ed79263ae1837db9ec42caa8f1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.1.0-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.1.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 792c1cd34dd0d03bf15838cc1e66ad01282c672ef0d2b9981368b6dcd37e67d3
MD5 2feb9c1bde6cc9304b919b864c42d947
BLAKE2b-256 34442508c4ba08b28cc9e827a04ae00fc73dbe6820531241eb43ba28f370372b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 49808389f1d1acfb4f5cbd9f1b1ec188fbcd2d828414094864f7035e27158db2
MD5 b686473918be1130fe5a2625a793a99b
BLAKE2b-256 5d545e53d99a1d352f387bd18250d8bcfe9e60594eefc062f246f61810c1bd80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 074985fa9d1622edda89c7f113d7a25ae5543f2e3f684bba3601e688c873936f
MD5 d268a23865371a73968757de0d3023ab
BLAKE2b-256 ef130301fd7fd3ac01ed23003873681c835f18d14267953c54ff6889cb1d0212

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 374d4c605affdf8a49eef4cf434f76e17df374590e51745b62c67025d1d41ec3
MD5 70cf9ad09182f8e0cde1c309d6e71b46
BLAKE2b-256 2e2693db234a69d01ae84ed61abb991a3da5555410abdf38d5932fb7ed594e12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.1.0-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.1.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c337fb8b27f6fbdae89fdb5f36a377e09f955642c025005b1be9b96eef73df3b
MD5 0179d8e1fe5bf990e96ff72cee47c169
BLAKE2b-256 262f6cf64bfc46d0aac54273be8182a8ac185cea9028a323b01d43a27c5ee33e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4e4c2df52ffee0810652bdb165972dad2ca8d89c65ea37d69d6157576adba2d7
MD5 9cf89753722078b6e4cdf7d83ff57337
BLAKE2b-256 558286ee6385556783f5e3e6279888c21ea31e226c347ea8ffb4403a79f79660

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 0d228a4934c642fb01f1602b71b11f54e8b739ee3902a98fd71618ddca088213
MD5 cf81dfe651915c7eee3ad8befc5f8dc6
BLAKE2b-256 5ad2ac6fb941f7206c2f0cc2bb008647d17eadf04f636f8e59a85e09701b913d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-2.1.0-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.1.0 CPython/3.9.13

File hashes

Hashes for dearpygui-2.1.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 eacd0093a985cc1c8d860b82ee518b387c13be3e21c2222ac90b3331656de905
MD5 923c368e232570cb2fa968a59f62e7a7
BLAKE2b-256 ad02b579896da63a6cac6c5846296eb32de6f6e37a7b82c2840679f71f66c09b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9daa11a4ff8ee4278c7ec614680d5d2a18712eed1b54655137c1b6e1fcfd6852
MD5 e352624afcd5ea7555d8edb9b6616a7b
BLAKE2b-256 7cdd3a8443c98fa316cb5202f07e39fef509b06e07507d99978d457c2b2fc5bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-2.1.0-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d526f71367950c3e0b91ca06a87fafa9317663d3d55a245c67e34147b34f531e
MD5 4083a8583ca27895a9a9ddf58693dfe1
BLAKE2b-256 deb193468c6bcbec7438c5e1aee4294a03e77a349fb2fb6db9fee0a3fa13ce0c

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