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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6m

dearpygui-1.2.2-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.2.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 84ad4aa570a2cf22a8a94b155db02a724b0a8764130821614211a1eb47f484b3
MD5 6615fe91cf305ebfbeca49218ebd0cab
BLAKE2b-256 d01cc3de2190e3aa4e49327758ef464252833dd0952de85ca922bdbeb1c364d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ca9b64da63acfe00f517b0c7e41e8d9e53e0fe8f69e235711a5573a6d1b4be92
MD5 fa510975ba8398c8e1ac74d013db6818
BLAKE2b-256 38261c666d9d514133accfe8479296ba3548f55f63cfa6d186cfb14c99596a5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 7ff087c6705c008dd7485b9fbc34162f65761865f101c0587702b66a281c2088
MD5 009ed4b8bf03ceafd2f9376f074a436b
BLAKE2b-256 3b2b8e01741a773c115982395150d44e42f5d0b815652beefb570948d80caa2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 402cc2c319931220c0be7bcf520551c10e365e2ea5794c43b1f493f22edf1b15
MD5 e40f38eb3ceded2cddb4bb7d2e7d42ba
BLAKE2b-256 c1a1bc0c7161ac3992c8509d9f30daa92541e0e3615c7a847d7e9a1d5f00221f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 18bb81f71d8fc7d307bd6a3173c833297861c16b9d2a1a8f918d94f1a41c537d
MD5 759dfcfbf218d1db1fc3059e7a0c5725
BLAKE2b-256 00b37a04061e00f6ad6f94e27afe118a98f2ebd8f6d85fc52bec7f78ebde82b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 9362b0e907307299588ccb727d63a9835e23ce362f9b99a6ffb856c3a1ebed22
MD5 dfbb904b55461308028d382fedfa23c5
BLAKE2b-256 2b532db651aeeb7b30817de4166af1e61e8150f52eaf5b178dbd121372ffa5b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 703f977bb8c2a6ebefcfb258de7b8b90abc139d18d71fb814ebe23d7e673161a
MD5 8bf111ac03db643f85738f642b646758
BLAKE2b-256 326a72e3ff7d22b93a27600acf56ada17fd287f4c5c1c000b58c34f6720a3d3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f6bbeec4cde5c88b7873e16717547b2cfe746c0e42724a156ac175e900eba8cc
MD5 fca3d02e8bb12fb58c4e54ea7e2562ba
BLAKE2b-256 6bf858f8569ae716969398a2d3060e1a912f4a7ce02f00af457caef84351a54c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 4dc204ede72153c43869222d5edd8047caadbb89918497147ce506ac2b427dd7
MD5 73500fa0ed0ed5b1b610df59b73f341f
BLAKE2b-256 5175d2924dbb638ccccb3ae744b5e1537f95ead45522b45777e8467e339fb276

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 617a76b2a101fadaf857495deab6900dff6892f0a442b7c2310351b44476a4c7
MD5 2b9a15879c09e985840d79ef9d1c45d3
BLAKE2b-256 7d7ed86f9f0911dffd7a41806de428fa23ec45153aaba6e480e1ef066f686fdf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b3906de3b1a843fd2a9ce898ac7185d2ae61c124f565cc3716689cc5202d4f85
MD5 7a1ad860e2407136ed023274e4e0176f
BLAKE2b-256 677b34ab9ff0441d4d55708fdbafbe194a591ec8fafb8c6ee62250f9b1040bca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 58dacfacab74495c74ffdc75c721bcfb6c82c45470bfa5675ddd7f089cfa0715
MD5 b3b967ee0d7333567a1679139c75c404
BLAKE2b-256 e85fa1f44c99bc60e412f56161e041fd3dd746d47602df396afa4af7ba9c3752

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 77e07e37378608e1d56f6507bfeef3bdfe5cabcaed7294a38563bcf45bb2cf88
MD5 964f66651aed26f99b2bfbc4178f0f3b
BLAKE2b-256 5ec1b195c8a76f54c364b0b7901d6bba940dfb95f4bfe5d745cfd181d26bcd37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4c5b0b69066a4216c3d659798cbc062b5cdff76d47cf16bd93eb1a36ebbdd379
MD5 4136cd89281059df8a77428b65f5316e
BLAKE2b-256 05c317edc519460d8e1bea8498cf8d1903d4043c6d3e0c10575bddcf147f9d45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.2.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.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for dearpygui-1.2.2-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 23dd8cdb58dc7d783f090a1c9e76afce030c9af64e26059827255a3ae1ee1aff
MD5 494ca2d67e504d95693c79b469430a45
BLAKE2b-256 c04b6dc42b13197181db8e0193f578aa24a59054af40e497cb3d61882f71979b

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