Skip to main content

DearPyGui: A simple Python GUI Toolkit

Reason this release was yanked:

Exit code cleanup wrong

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

Uploaded CPython 3.10Windows x86-64

dearpygui-1.1.2-cp310-cp310-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.10

dearpygui-1.1.2-cp310-cp310-macosx_10_6_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

dearpygui-1.1.2-cp39-cp39-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9

dearpygui-1.1.2-cp39-cp39-macosx_10_6_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

dearpygui-1.1.2-cp38-cp38-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.8

dearpygui-1.1.2-cp38-cp38-macosx_10_6_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8macOS 10.6+ x86-64

dearpygui-1.1.2-cp37-cp37m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.1.2-cp37-cp37m-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7m

dearpygui-1.1.2-cp37-cp37m-macosx_10_6_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.7mmacOS 10.6+ x86-64

dearpygui-1.1.2-cp36-cp36m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.1.2-cp36-cp36m-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.6m

dearpygui-1.1.2-cp36-cp36m-macosx_10_6_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-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/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e758476846b3795fd149944692da51c30db7e9122a2f3197eea5cbd6a0b20cde
MD5 942e9595aef946e2fef7153fddd9f3a5
BLAKE2b-256 457dadade16c54d142732c959ad801c5f57216a684fd975f0a6e7eb112ba8ced

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fb24aa77c7cb77178cf9d2be30614d1e68f1cc0e97465665b03a97f863934a93
MD5 cfa45b966b9aebd32402268fe5f9bafc
BLAKE2b-256 4ed6d758b9c4c28c6c968ee1e0979ac394b80e313aba48768f53568d9ae42dc1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1.2-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 f915c6ad30dcb18983543c74994d68ec2f349a9a4616a66b8e194bb120a7294a
MD5 412918d14c8f1cf87711edab04158554
BLAKE2b-256 58b9e15e284f97ca89e82bdc1ac76324b01adc637508ddde6af1e79515f01967

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-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/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7d601775ed7340f7dadca24b457afd07a54ea19144655e7969a6d75e14c22d6b
MD5 7d46a71b885d944cb46f7669f5a14425
BLAKE2b-256 0d2ad3a7c7a336168fe572733405d316aecc27b9b02e8dc0c3a59d51f80a6b87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4b7dd94df0ac1b2f218dea5096d2faab5c1f330f6ec334e329b3f4cfc1ae569f
MD5 335c15f2433dabc5f6b044590658206a
BLAKE2b-256 4963c2ff3119a31ecf7aa2bbe759c1f7f697755c8d8d3b2fc81998157b18d55a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1.2-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 5bf46275933766beb893ed6af906232cff4c05dae753b02e93141cda72a7f262
MD5 ca0e0d24f2adef57162e04a5c4f89ee8
BLAKE2b-256 66dd07ab6c9d51ec0b752eb9b836927a6f2627a0f2119dd017e228a224aed0d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-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/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e982b14e23dd25927a08ccc839b4251a99bdbce3c95e126c48a3a278dc666405
MD5 b1fcdda7e1cf64c2279d1e9acf89b1dc
BLAKE2b-256 b358a6c80409e7ed0166347310cf827586fb6b6af6137f60bd74cff32c910863

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 29c9b9fb15c9ace3f90fbf7191923e27b6e049f3945cb223d0023bb70f84c153
MD5 042f27eb09fa4eabe8e44bcb01c6e15c
BLAKE2b-256 dc0982fc025113f5615c8df24dba4845553c57c389849d403a3ea9400e27cd9c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1.2-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 40242c5cb3709c8d079ac0443f34b389ac42096aef9e238955acaec328e5dc76
MD5 21303a681f417f02c6592c89f85d0e8b
BLAKE2b-256 3dbf42b9b13608f0e04eb41aef735ba2d432b88d7beee5d1b9bc90cbc1372160

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 951e1d87da74e2fba35d30e799b227ad949ccad9136dbba0856cfdc9557b7d09
MD5 0365320ef7f5888f6edf93439607cefd
BLAKE2b-256 c3f4780a5a912bdb531b4cbad781ef32e8d5d348b5d2a1a9c1dbb69e86dd5fab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b6ae3c8a9819a8fa516ba6ddcf3d115227c8ee7a781d39d8f3ea6a18c4f9ff9e
MD5 3ba2514def10abdb608043ba7f077531
BLAKE2b-256 0d5995145a80755527fd71a8ee1cd7d1fdd8f12230835cc3fa2ea3d78d4b9681

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1.2-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d5146be56c7ff554a1546569faa161d7f855dfcdd24d7e3a9c63cb9d70315b56
MD5 042c2b62fab3797fc9c92338efc1c91a
BLAKE2b-256 2f923ced4beb86e68cf6b48edc1b4b8426b13603f1c310620690de458f0e960e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 48f9f62923a6255632d34d93e34ad5d24cf756a80398228cbb50dc6dd929cb9b
MD5 bf17fb6e2c84b69e7d4b380cd3f25fca
BLAKE2b-256 2388cfca22688ddbbd367cd155613176414d5b8b20706bbe9323b3fbff6e5924

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.2-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.1.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 adf0939e63a3db3d52d8eece17395d3b54de204d2fe8b10b6f30a251cbd31f42
MD5 3395019f434b791f207abf0eae6ccafb
BLAKE2b-256 ee99e93ff9fcf37f9e29ab1fc4fe1548301fec8d52cc18ef3c512e960914517f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1.2-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 27c6f628807f1f1ec294b90f81a893e0695d6c278c06f56f19a926653f8b3802
MD5 adfed3432e3ad37250929a2ef4a3428b
BLAKE2b-256 0c4eb9c2a568e2b9d1c4dfefe7faf6479bdf989a9219a999672f658e2f88bcfe

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