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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

dearpygui-1.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.2-cp39-cp39-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

dearpygui-1.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.2-cp38-cp38-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

dearpygui-1.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.2-cp37-cp37m-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.6+ x86-64

dearpygui-1.2-cp37-cp37m-linux_armv7l.whl (2.4 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.6+ x86-64

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ad1bbbcbf4070ddc4539fed84b93a5d5f35418c089faf38303319b36a8fec553
MD5 1c6ff45ac1ecdd9ca9b9bd12d2bc228f
BLAKE2b-256 8b696514e734541072aff0a963b852f3c359982c27f2eafe88f345cefc662fe9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 368f246848057f913a974291eece6cb5bee3e6c6840e621c05129d8f8a2b1cd8
MD5 e3ad555e82d2fede2985a17d490a1806
BLAKE2b-256 c20dccb81ca2a9e7b487749bf9ac1b9a876d2a906bd5f86b337383d355a266d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 a15de4fd6fbce2c75070fcb1f54ab7e0d126e1443d2f43ccdc989fbdafacf66d
MD5 8b793c7d9d8f74235fde582ee16ad45d
BLAKE2b-256 90e7775ff3760faa5f9291e63bf90e57d8235f3fbf29514858c15eb2a430ed2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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/3.7.1 importlib_metadata/4.10.0 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.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f2c38946cdbe4732dc2abf910b7d30a30545a4fb6db99980b8a4e5b7180ceba8
MD5 9a387f9a42cf97fd50b10cff7f3054db
BLAKE2b-256 efa0f217718c85959ceadd5eaea64bd862e5175524c7cce77cba341d613b5fbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4e1d7ca009fe2fd4b01685b582ced9b75dc678d1e11669c4d99566d4b9500853
MD5 99412276aba43275b4f5eb69d605ce7b
BLAKE2b-256 ac64a0bfd9a1d4656cf07d623ebe804b2394625b79b69cf49e3cd75f97dd29f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 2463d4783b617805f16722225b2f3ae70577dd72e58ad07ce604e325a75d8b47
MD5 b20a4517e2972deb3752152a5b7ca85d
BLAKE2b-256 d59d86963f742dabc82efcaadb2f2982aa76e3f7932225fc5887e64a83672326

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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/3.7.1 importlib_metadata/4.10.0 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.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d39f9af637a6f08fa26546b9e96da0c42aea93c742c3496fe7f9d6c66bea83b8
MD5 913b6894fd2fa83ddc079ad772745a39
BLAKE2b-256 9bb069c0abbf0175d042219f200a8d1bf3b0ab0b3e852582e5d611f2168afbc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 abed99ac472c7d9814902a1f7830fe4554e80c1fd24f6630e79ac861ef2f6255
MD5 9fb9531ad6f68205db57455d97f36b22
BLAKE2b-256 4240ae44b1773b0ee32422d5a0f5f6bfba13944e725c81e14bbb22bde9db1c46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 6ecc72e6ac02b448f139731456b648c99d9bc018a6789f9cd6b290c0ac585567
MD5 b93e90240e7f90b65372cb13ed8080b4
BLAKE2b-256 2c1c68eb575f3ea33c33ef7905e261b27bd75a3334c33ebd1e56ead636ec6733

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 264fe2952957e3f39db36083ee9a27bc0f757b15215d6f24aac076440c0366a5
MD5 3a9f5ed6019ebfd2d04acbe3994e8024
BLAKE2b-256 3725ab51052697d4c4fa53ed8c903e6fc0110826ee1d6c2fce7cba24ad4a872d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 14668efdd5f57a2067ba7cfb5cd12353758825bfd854e889bccacd9d65ab34ff
MD5 5e2b1666bf2e456b912fcd73520a7271
BLAKE2b-256 17a2d128d6af0b384a93e68b169f010b2e3ce9f4ed91a15e89e4372e31c4fade

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 2c4d2c88102f8df934611af9111ac3d3d82218e62b274963ecaa72ea219acd63
MD5 dee8a0665b664e64d750c0847e75bbaf
BLAKE2b-256 2fcf9dcff9509c1951bc431aeeac5afa9c0b2636098066c634c41eafbaab156e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-cp37-cp37m-linux_armv7l.whl
  • Upload date:
  • Size: 2.4 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.2-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 83bc7a712a7be2d0de4825ae5d950140dbe293be4f25dd8095808f4abaaaf6a3
MD5 793047c01756d6434e12f0d78ab1da89
BLAKE2b-256 7721456d48d0c56dd97c2a2e850c084add20ffb060c95d73f4714776c10395ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c8c4f6bf0740879952c25df5b7cac811742d0f48a8ea5c1decd8183a481a00fe
MD5 93a1924ef5029f0d0e4b2cd449749356
BLAKE2b-256 6851f959cf33f6cee572bad7a8ca87795dc0be33f2d9125e5bac5375f6332f25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9f13fbe0e71fdf0e062085a1566ebf034a3c560d5f9b9094a32278431d5c730f
MD5 bc28709ead47c174e1a7199f4b492f16
BLAKE2b-256 1d3e5ca17f3f3d56f82fe71561910106f9ee9264e5fb6bd73c51efc5d021f62e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2-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.0 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.2-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 734db3003b381b1b27eac2a3eaea51b5607bafb33b8613625a499080b6e4c5b6
MD5 f92f264d3eb91089afed111995c05271
BLAKE2b-256 c83f783d7dd5e51cbb3f885c30f2e8c525c867bfd8a82fa95cca4f7fcad375ca

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