Skip to main content

DearPyGui: A simple Python GUI Toolkit

Project description

Dear PyGui
(This library is available under a free and permissive license however, if you are using Dear PyGui please consider becoming a Sponsor)

Python Version

PYPI

Downloads

build status

static-analysis

Deployment

Documentation Status

Dear PyGui is a simple to use (but powerful) Python GUI framework. Dear PyGui is NOT a wrapping of Dear ImGui in the normal sense. It is a library built with Dear ImGui which creates a unique retained mode API (as opposed to Dear ImGui's immediate mode paradigm).


Themes

Dear PyGui is fundamentally different than other Python GUI frameworks. Under the hood, Dear PyGui

uses the immediate mode paradigm and your computer's GPU to facilitate extremely dynamic interfaces. 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 |

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.

| Installation - Usage - Resources - Support |

:----------------------------------------------------------: |

| Features - Sponsors - Credits - License - Gallery |

Installation

Ensure you have at least Python 3.6 64bit.


pip install dearpygui

or

pip3 install dearpygui

Resources

Chat on Discord

Reddit

import dearpygui.dearpygui as dpg

from dearpygui.demo import show_demo



dpg.create_context()

dpg.create_viewport()

dpg.setup_dearpygui()



show_demo()



dpg.show_viewport()

dpg.start_dearpygui()

dpg.destroy_context()

Usage

Using Dear PyGui is a simple as creating a python script like the one below:

Code:

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()

Result:


BasicUsageExample

Features

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.

Tools

Dear PyGui includes several tools to help developers with DearPyGui app development:


BasicUsageExample

Support

If you are having issues or want to help, here are some places you can go:

Sponsors

GitHub Sponsors

Open Collective

If you enjoy Dear PyGui please consider becoming a sponsor.

Ongoing Dear PyGui development is financially supported by users and private sponsors.

These include:

Thank you to all other sponsors for keeping this project moving forward!

Credits

Developed by Jonathan Hoffstadt, Preston Cothren, and every direct or indirect contributor.

Omar Cornut for all his incredible work on Dear ImGui.

Evan Pezent for all his work on ImPlot.

Johann Muszynski for all of his work on imnodes.

License

Dear PyGui is licensed under the MIT License.

Gallery


BasicUsageExample

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

dearpygui-1.3.1-cp39-cp39-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

dearpygui-1.3.1-cp38-cp38-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.3.1-cp37-cp37m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

dearpygui-1.3.1-cp36-cp36m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.3.1-cp36-cp36m-manylinux1_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.6m

dearpygui-1.3.1-cp36-cp36m-macosx_10_6_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-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/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4ac6ee1dec934830da5dc981a8b16a6fe6410bec6c8c026cc04bca6e95105f83
MD5 bf9eb7a7abe965e71b689ab9dbe1f5d7
BLAKE2b-256 b5da6cf0c3047c27982200b5e33173fcf057cbe453eccfb194521a507cdf8260

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cecde17108172c1ebcd0de79a5f950c1b0dabfe3e12f6e03c179b5b132fa6f89
MD5 d5b770c570badd878e4d1fb4c62437fc
BLAKE2b-256 fcce878a20f54130480b77e9849933e091478f87847fb170d075eaa3c823c147

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp310-cp310-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.10, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 c9a23601a6770c479e72d4d791f36fad1eb0d2a6513e312ef7178ee12838ab2e
MD5 a5b5db2f1c1e1210fff1e4ee8e65e276
BLAKE2b-256 7951888188b81303135be56075ea01c3aab62b0b13dee3fb6ae2978dbab7ad3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-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/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 af0097756a15aef656fd1bec103c71f99a3c11a173e7f21c47fa8dac3a029fd8
MD5 e7ae622c93c6e732475c6359316572c6
BLAKE2b-256 ab2b192159917bd613af5f01fa6a6558181bbd992ba48195fe7281f984a27892

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d5fdf9b65f4eb881b05a4f8ed01d63cf16551455883e7196fc302f16b106c994
MD5 83bb489d920a9d0fce40508db1d9618e
BLAKE2b-256 6b171867a304151e505b1e1b16ce76f03acdcd5c2d2ffb55b253acda2fa35aed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for dearpygui-1.3.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19c9286a41931a3c9763ccf0e57f6c1f4a5fccf8dd5687c1d138ce786029f5b4
MD5 3df94389ccc41c307836f2069141cbee
BLAKE2b-256 076b4c0325cc4130eaa042125a315d37430dcc0c019ad50068d7d430f7e24a28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp39-cp39-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.9, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 c399728c93b0188c2a284539aa0f69f75751c43667b082c8c964b558c07bfbbf
MD5 2df4daac5799e8d9f842202605db88aa
BLAKE2b-256 86d9a89cd8130b4e8e5e7c2bd6fa15a071b0d4ae773a34ee1db3618dd9d80903

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-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/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 210ed14d571c4f84b88bcba957bf59add8a0fc116981729928a7658359c62147
MD5 6f64734840caf8d866982d80000a1bd6
BLAKE2b-256 74d73201f42935418ff521071791642947b014e212d1733fb87222923df82771

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 781eb24932e68cc72700677982be0dc01ba08aae9c19f9d25c0ba5f50926defd
MD5 eddfd078bd7f51494f6bc9dedda04f1b
BLAKE2b-256 91e15cdd233c2fc6b360916ea716329a6731778f92334c1f566186f63f6d84db

See more details on using hashes here.

File details

Details for the file dearpygui-1.3.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.3.1-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for dearpygui-1.3.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9451832c21d77454b4e90f96820eb001a2b9b517228c1573ffd15bac89b881ae
MD5 00d46b34ee500ff536fda77f86b90ff6
BLAKE2b-256 484a670d8a58ddd3701ecb06cc6d1997e9cbff15487b5dd6d65223f785cb22c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp38-cp38-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.8, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d860ed3b724d7910f1d4f107ba2ee7033da182b4afa49cb9799e16d637225d70
MD5 69575c2bf86fbb00cce8de36c8649d1c
BLAKE2b-256 c120198c49c4557a3a0785b64e4a9da216b2a311f941adceebcaa7e47126e369

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-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/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4f9deacd24aeda6520f78d7c6a51f3b1e5e3545375dd5427547578dd5547fc90
MD5 3987490b9cb9e74a4acb74b961990715
BLAKE2b-256 91023ea6b4c1279890053ce2e343ef079016efe7ac9260db84e98c224f2d8d73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7f157a7a695e9c2c33a1392a9814f7f83bf53ed0f05e388213a5677a990b6e88
MD5 1300b9f182b1a4061fda53a962ba2597
BLAKE2b-256 43fdf8ffbb04dfcb04a33c6aeb837da8aa5d9118a96847804cc3e4f15198aa47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.3.1-cp37-cp37m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 9783d62ce222e5b7c053ac8d0adb0a23f80490130ff2f71b02c8964e499ed15e
MD5 a1466d9592873ca0233b04bd5f82c741
BLAKE2b-256 057ecbe1730c04f4586ee292de4127230ab695ee81bd9e9adec5c2958f5ee912

See more details on using hashes here.

File details

Details for the file dearpygui-1.3.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.3.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b8b7a54c7b4c97c90ab52015ae26b1df7f04ba455d571ed1fc59b82df045eb2b
MD5 651c4666eacc3dda29f262c7b5035f9c
BLAKE2b-256 8da499ff43c0e7b28637b36aadccc3c01d4c0a757b57e8667db820d29d3d7946

See more details on using hashes here.

File details

Details for the file dearpygui-1.3.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.3.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 928526c3f37ee82087903dd08fc887f3746d6df59a41b774a27c0fbb999b0da5
MD5 61b9e1732189dd0a1b2c27dd67f19c06
BLAKE2b-256 b20209d0b05d876cdcac487117aac1dbff7764a17a3bdb190a8e9551c39ee529

See more details on using hashes here.

File details

Details for the file dearpygui-1.3.1-cp36-cp36m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: dearpygui-1.3.1-cp36-cp36m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.3.1-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 bbaa36feedde71b9108a66c544d636201da87b264e4770f5ff1c9951fd19ab54
MD5 f10edae93b63dcf1d4b00c1408639491
BLAKE2b-256 3701a1f2ea9490633bac4a78ab9ead3ce52f8179763bb5348dcec61f4f57d7ed

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