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.


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.7 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 as 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

Ongoing Dear PyGui development is financially supported by users and private sponsors. If you enjoy Dear PyGui please consider becoming a sponsor.

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

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.0-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9macOS 11.0+ ARM64

dearpygui-1.6.0-cp37-cp37m-linux_armv7l.whl (2.3 MB view details)

Uploaded CPython 3.7m

dearpygui-1.6-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-1.6.0-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.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c94baca89cc9c977de6fa0ec93b54100ac2eb67409e3a3b6a4c6171c98a306b
MD5 49ef0c6a71f2c2e0bd09f867bd68c822
BLAKE2b-256 b0669f4c8457f69c4f13d1b38724eecec9a3d830f19855f81a884fcc9bfc1740

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6.0-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.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dce2ab3c57c7e79a5c209cbb97e376f621366aa273b319ff39453829c2ad21b0
MD5 5278e5c432cfeb91458f0b72ec4df69b
BLAKE2b-256 a3e381eb40aa9c1f2aae435d80d5d7bce945a564349fdc6b6bca7189a104056b

See more details on using hashes here.

File details

Details for the file dearpygui-1.6.0-cp37-cp37m-linux_armv7l.whl.

File metadata

  • Download URL: dearpygui-1.6.0-cp37-cp37m-linux_armv7l.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for dearpygui-1.6.0-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 a25c13573c5251bee2bac0c21bdc83ff671868ca4d57004dc4fc2ccbf9bedf1d
MD5 769b5a68a2ac23b0cb107e8543f0e7fb
BLAKE2b-256 e12dfd5cf26e7f777bfcbf14fee974223e74a34563bdecefa449cc16de47ab3d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e9413bf098cd36cdb37e06660d5319f15265cc918b4e5f00d8a610f04ab0396d
MD5 931713bee9f6919c2bfc4716b075fc7e
BLAKE2b-256 588c73f42cd2c33d59f0eae9577d372427ac3b94b736805d48a60984cd90f562

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dacd7a8cfdeb68580e98d92894adbf8bc709003964b5f65594852391df9d0ab7
MD5 eeddb6b56e39f0ad0c5dbc82c969628a
BLAKE2b-256 91528f8b0e38ff984257ecd341f74f01697baa4fb77e36316dd679253fa143bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 458bae772e2262594914e8b865d75b99b87c7b9fd07e77081aa5e8e558d69c97
MD5 c80f8e64a4d96f5612fd8ccf1d5b8b38
BLAKE2b-256 8268070fcfa1f85da7a6ad083173ee1c89427a094a5e649c10d144025564046b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6-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-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 853298795607b5d61e85a08f6e8dbd797d29502e8089c22636f880bdd7307359
MD5 ab909c1511860dde5062a4064c963a34
BLAKE2b-256 2e6259266040393971bdd70c8395f4b753fd06cdf11a4230354a9fff1131e443

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 baae4e3d233b3e08b25282e47abe07add589525ab78113607c58696afb4bb2a6
MD5 336789660676c4a17c2b9a47ce8b0d3f
BLAKE2b-256 94b2ed1e830d30612a0f1ce99c756ea0420b981ba690cce3488eb8ce1ec36ffe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 552022c9ea4505e16bcfc78ebfdc355a973a98ec5a3c06481b7bf3a08e3f37b8
MD5 76664ed1a43ca34062ecd8864c5d7d99
BLAKE2b-256 b1d711f5b57dff962d253c11041430432475a6f7664a5b6333aad36d8b0733a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.6-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-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2cbfe6107654ea461e391b14eac3e3ca1532e279c96470359717fa3f9fe8f92f
MD5 f9430e7b0bed1e596e89796bc9475fbe
BLAKE2b-256 1fce9c6fc28bc3bb8f371f8a2200856da3fa448fb27d8bba53522446f246b916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b3e07904d650a183424fcbeba01821f32751b4eadbf132ff96ee6cdc801de5d4
MD5 ba486b40ce07c8d8a908924cf72e8ca0
BLAKE2b-256 97221d1294731696c3662e1653700fed0b5f0fc2ffb9adf999da932ee33bf9ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 72209fe5a1a52782285c214012cdbff3e90a0c64f8a1081c06eafdae4f037307
MD5 01f65976ad2c431ab1eb9a3e8ebecddd
BLAKE2b-256 362d918745d1d767066d1124f31f10e64cd95f41f73e22e9eb2c54923a7981a0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.6-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 63eac9b6c8256368321d567a91e6da2a7f47fdbd90735779b53f130020c68a07
MD5 832a9523ba3bfab9e09d858d26b108d2
BLAKE2b-256 601e760139de9e18e3f3bb41759bd42fb28c5b6f16c4503c45a7667681b73d9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03754ed245e99d3c112b43b5ae0f2552e392892fbaea3d63345c6b63c7ee2e50
MD5 627ba580675c54ef3a5c964efad5e8dc
BLAKE2b-256 5ba071495c5b2e607957df7e0078e2cc95bdb97191bab57a3f41249c269516f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.6-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 07795bfe578ed3bc8556d39289498a1ce863361d2963cfdc84d9e526542fef47
MD5 6d36dce29d833114cfd461d494453ff5
BLAKE2b-256 cd26813eb6a54f24c43633ea7599022712c2fe38f6f0f6a8415ada0e59ccc2e9

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