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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

dearpygui-1.6.2-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

dearpygui-1.6.2-cp310-cp310-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 macOS 10.6+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

dearpygui-1.6.2-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

dearpygui-1.6.2-cp39-cp39-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 macOS 10.6+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

dearpygui-1.6.2-cp38-cp38-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 macOS 10.6+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

dearpygui-1.6.2-cp37-cp37m-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m macOS 10.6+ x86-64

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 54a3b692c6d20ead2d8c3d0358252803737043a83ebea03129024a6d77816df3
MD5 1771adde206cea15c3b1693fa1cf1db8
BLAKE2b-256 4cb45f7a2ad7a83f73d88fad0dbeea4107e5365b909cf51dbdf11afa1f26a0d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 721a1bd6a95bc8c0da486116eeffc475799b39144c941f4af604d19d7d063d88
MD5 3133eba1044d46c72559b10fa1243a61
BLAKE2b-256 85b65c98986c3fa4bf7409e0433402d74e2c532e22b05eb4046f5a42243bfd3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6.2-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.2 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.6.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 402618f3f523c8c368710b1fd6961c076a0096a6166927d2a3846f8b1b5df8bf
MD5 d635ea8eda96b35a6c743801a5d40df5
BLAKE2b-256 06b726f377f9ed01475133e77ac9ac331a0d56cedcefccc5f04842c4699082ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 55f1034d431febc550935c71bad603afcccb6f2ac333a1ecb6d132df2fbfaef1
MD5 f7062c9f9798ce6d0997407411d8d9a3
BLAKE2b-256 10b50f490ccb2b0a04347035368cac2eec193da757f1f0700df455299bf99f7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6.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.0 CPython/3.9.12

File hashes

Hashes for dearpygui-1.6.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7cf534cb7662e9f49ee93cb4ca34d6c245913b6dfb887d8a5e0b630597a34677
MD5 444f57c3ae3514d6dff07cf243e287aa
BLAKE2b-256 fcdf571ddab00f609099272e4d09b82f07a1cc300a97f3498615fffebc357705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b0c77bd722eb0168c4ea30bf46e0b493ce398c7398e315996ab27535781dc99a
MD5 12ef41f046b30ce96b8799f9ab2ecd2a
BLAKE2b-256 1cdd53dcfa54e594750d1966c9d39063c3edf8e7fd567b61b62173ba642ce357

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6.2-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.2 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.6.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ea650b8c3fdf2076816d6e3374bb906c92394377c603bc119082a9e14828095
MD5 23a578d5fe2a625f77a097f105151e9e
BLAKE2b-256 d1671ca9576d26e4a8e1d29936a6b22277d8171a865c97baad38792d09b9a57f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 b92537106ce321cc1e3a830a6bbdc5ffc48120e2936120af45c87c41bd10a83c
MD5 38dc892ecd9a6a84af82106c76b8c1d9
BLAKE2b-256 08cf9eba2a3073fe96f4a69ba80a7c8e08f3d8625fa74d75c07e6504c826af40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6.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.0 CPython/3.9.12

File hashes

Hashes for dearpygui-1.6.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3260ce78879f22f5ca2345a4ee7f940ddd725527cdb3de16ab0fccdd79f88490
MD5 2b7cf74a9708f917ac5f10d9cf1ac543
BLAKE2b-256 3153da54b479f020ee04554b09d333a739c77dfc42ed81d6cd9f94da33283130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 398e2ccccab38092faa3d4ebf1c08d9898a516d626fa7b8aa026eef74fa4126f
MD5 cd58c53a70d23cd8cc0f485a8d0a10c2
BLAKE2b-256 cd377ebee2b783c18818b9d003f6417026d12532ecbf66a3352d7e4f54c63521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 fd6218f1bfd5e4d8dad65dd8a148dc0526b2c14a552f5b662523632143a71ad9
MD5 7bbf7ac9dc6a05646e6fc4d081112593
BLAKE2b-256 c3de50e58f5be6e13b697c2a863d8f545f596ddb478675ddc22801c371cce00b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6c842f71a930a93a076c549ae4e46ef482c918a350f8cd011a98d0a8774b925d
MD5 bddc9e916735178f0beba223d4eb215a
BLAKE2b-256 6625dab10ab80bfce4a4d15281a0a1b1397a5c36b8bd4645911f9733ea384aad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1ac323778cfb860281065a8ca9a1aae53ccb86ea92f55d0612305639eaa59bd5
MD5 6e8b9c10fddeaf08f6f60e57faf6f1b3
BLAKE2b-256 7dda49a9105c3d3d5ddf9dd35d0f2414a3ce04efbdeb8504c7e6d961ae2f49de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6.2-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 57818d203639d2956ebe209669c371b8055e314971d6cac3ac3095d659f7ea4a
MD5 f05dfb3a32e3fece43120101205e7dba
BLAKE2b-256 542e75989516401d6df724e3d5bce580478dbdf4d5622021c3ae670c3e56d3e3

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