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.1.0-cp37-cp37m-linux_armv7l.whl (2.9 MB view details)

Uploaded CPython 3.7m

dearpygui-1.1-cp310-cp310-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.10Windows x86-64

dearpygui-1.1-cp310-cp310-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

dearpygui-1.1-cp39-cp39-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-1.1-cp39-cp39-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

dearpygui-1.1-cp38-cp38-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-1.1-cp38-cp38-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

dearpygui-1.1-cp37-cp37m-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.1-cp37-cp37m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

dearpygui-1.1-cp36-cp36m-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.1-cp36-cp36m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.6m

dearpygui-1.1-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.0-cp37-cp37m-linux_armv7l.whl.

File metadata

  • Download URL: dearpygui-1.1.0-cp37-cp37m-linux_armv7l.whl
  • Upload date:
  • Size: 2.9 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.1.0-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 bc7687fc7251415dd8532e35e181c0daf563f60367620c89abaedc8d55d78cf3
MD5 daa04423e2f911b6a7cb8849dfa3beb0
BLAKE2b-256 ce51db5ec960d273f8ff423b940f00b203c68bf292c68d2c0d9d7c0242b4c337

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8ac363668eb1fdb4dbbc1adf13c1f412ac195c515d0475cdfadec0ee73cde3bc
MD5 94e5ef647c09a2e60212f7b9cc63d707
BLAKE2b-256 222be8f1534debd016a402736b21e2375409c51badc6706c23d8ff7cdfb487ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d9dfdb4251dd31a8ea5f1aa15e5fc41e8074f894ca5b8eba2125a4a2e2b479a2
MD5 c86aa0e737bd83d252a75889e1477682
BLAKE2b-256 f31edbdd756a7f46ff3903be03da238d016ffb4a0ddd6c6bedc448887ebdd311

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-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.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 78d8294bd4e4a1a59d653fb1a96035a3131cf6737b8121ea21b6861aa38f30e0
MD5 8b6b3241f1fbdd3ce6d904fd3968d458
BLAKE2b-256 b8dc2a1cc4ea8202d054d93c58c3709e8dd09ad300dcbb9f23307941ad89ddaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d71c2c647f1102527481319d13a9c441bdd97307b1790b3855b210a30c44d18a
MD5 03388fd908778208477239f6342274eb
BLAKE2b-256 c4a0daa4d1cdffb8c121c1cffa2b0fab79b49ab283583854b8dbfffe38f9075e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aee247f50bab7f0fad6952a3f1d6cbdbc42a9beadeb6969aa9dcd32e7c9bc278
MD5 63407db01a7436383fab6ab6aaa63bf0
BLAKE2b-256 81b716d0564991b20ab91e64ca44588a51dd44a08e76e1baee2ba331b3ef0202

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-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.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 bd777ca3f9db50d04a5b4707e968a088b6ccfbfa35c96e7cea988bbc911b0af3
MD5 6142ac1a14a8ac4fba79f392e97f7b7e
BLAKE2b-256 48ea8ae2f421dff3d94cbdbdcf39ab781217f76772a8cf6bce4b9729ceb97f9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 26106482784029e55b76e152646b3b73ba7caa7e3527179d649408d8c34adbae
MD5 a41b2bc69b22a6056265f63083d3f962
BLAKE2b-256 acf52cf031dbc43b9abfc846016b91f3f2912d2693ffe29858dc107f95ea3a8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0e9e023ff66b10b50bf552a51b6db3a9ae588becb7faf736b5fcca540a0549a2
MD5 135e3ffe7f71efd69043893d072b219c
BLAKE2b-256 e0c50c07b90af51695df92a293321a5cd1366aa4e643ebff3ee58b93fba5b268

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-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.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 5db858080191a89ee28789a7ba16f318fd44d0ecee0b018dd1ab7cedad3b7c40
MD5 80d25db472de6bf8a355def0b4967d60
BLAKE2b-256 2368aad00b21501daa32c181a8b400a04ca6e667930838c2834e6d1b7ff29d82

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7fc7d00c4149ad3798c37fd68ba4923c6fad635a0acd882920e6c9f157bc91a2
MD5 2df5e6f25f7798d7d797a4c6844456f6
BLAKE2b-256 5a386245e94263683c283965c031f3acebcc321555ebb9cd0a98cb6bca84b239

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c9dc991fdc96500da15ea3dea75d4118432147418447fb2976e6ea2c320eb103
MD5 4523685c2cd2e958f0eca15222be3db9
BLAKE2b-256 229af07f6baa7b09afd8afcce92c10411e59c11fc5d873a22b6ca1a85d236a48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-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.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 6cd1f9efae8d9ca19b979509dde11ba224ab430fd8198c43d3da59d1c1725c43
MD5 8305b641a738a75fe095723ce1cb6ad4
BLAKE2b-256 ecccd730055ca3cba805eefa86772169f87745e134452c5497a173e0f5db2a8a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dearpygui-1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 fac3fb122fc53069db2e83c0c27782a8e612a77a4ea7deaa5d5d6fbd7638ec71
MD5 1e1c6c2bbbe676d9c81525623b6be529
BLAKE2b-256 fa3d760c8f3c48201f6fced4886bd98d3b5271776fcec3885588fd672727701b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 87196411b1561094f3902993740eb868cad718a5c4f460f6e4a3df00088e0900
MD5 83aa8061b7eb32e9d1179caf02dfa299
BLAKE2b-256 5ab9ceecb92f15c351822e71af9720fd42f5b67f7e52c47c7b9935acffc39e11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1-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.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 1bef3c6ef3a601c0443f0bbc9e417ccee362288c26404596af0083ba3d82aa1e
MD5 14fd1e020b5360a00600ae1ecc4240ad
BLAKE2b-256 5176bbfe7ebf747e835a868b4eedc6794d396ee63024dfca203194f76f435595

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