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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6m

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6dc430be056b62b17c072abff399f9c964150e364f753ab8ed21eee47ab80a1b
MD5 66966a0b0959c1a45fcf5798e6bd3bba
BLAKE2b-256 b709af0651c29bde9527b797789c501d65691aa1d616755c01e31235c6372238

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9fb71e6c9f3cbae4cd27f405a58e3379f21b19e76fba1fa79de87e6fdf1420b5
MD5 4d3a89ba85ddc6c61ed181cccfa28b8b
BLAKE2b-256 a6f9dec85c7c137c0871bfa3dc9c6fe33aba6d72d2c21e66bc59de2a0f6fe9eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 36fadcd70c193c76365be533b28e68bbf82443ef02358e433b1837a3a4a2a532
MD5 0e6644dbd1c3d46c57c4656c286bcfce
BLAKE2b-256 1cf000629a406260bf61f4a7a2728195ca6506f70afc1db4a944a6bf8550c7ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9c19f4e028ead877bb283322e257a6591f4daef606b3f9a7bef7ef7d72a97771
MD5 6080f830295539e8efe0b962f0060fd2
BLAKE2b-256 1d1fa3e896b4bed5ef83b344da532d06aab2acc4d623cc0ddd6043331108f6e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e1d92fbb04fddc3d4f1e319e63daf09ec098bf05c0e2d76c2dca2d34de4a1938
MD5 cd9b08750dccad4bfec7219afa911437
BLAKE2b-256 927dc1fe0abc71617d5de6d7d48a2716d8ec0991ef73aa875836e175906148f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 da0e5bb88190b0d833010cd26297aab8b7eeed44c187c8f954d0f7f2f78377d7
MD5 eac24728bff7b5de28efbe393f8a0686
BLAKE2b-256 bfcc2126de3859001af30642cfd20d8ec200fadb8b4f00f82f1ea5b85a3c60a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 de8fd50616e868d59436cbe2acf978f2426c74a9f50093d09d496de986cc8aa2
MD5 35c5372a0d2feff2055833a18dc44245
BLAKE2b-256 2e9190832766ec0a30e922917c5b1cb0e69c8bb771665a38fe88329c5419db10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 16ecca284855936ae162e1e556981c1e8fac71dacf6e5a5a09a980b30ee0dd43
MD5 63d616a7a1814148cb02d29c1bb27c5f
BLAKE2b-256 e88a7178b6b65025219a3adda8691b2b1dd89d2eba16d09e25d7956671babfac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 eae2bd810a3c2de478b0d44c9325a9f2e0523339d27bd6e9b46228acdd59be76
MD5 a7cb8b51d54a9aeb0f332c45b7576ec4
BLAKE2b-256 8ebc0098ba9d143433d35cffa91e754c3caf1ad252ce71a28da666c7eae3bfa9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1b409e1456c53013806fa88ce9f9652dfc5c6eed29d91a44ed376f0950e7a27b
MD5 295c4d04def649b10edd5e5e1aaf2f2b
BLAKE2b-256 b8fbd9a571c0c1e907d9ed32059d19d39034c392a9eb4f6fa9661c20b5ce8bfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 082f40d750a0d423b39c5e507c71edc17d7011721817827f8df18803e476323f
MD5 37ff34524b8a7b31285799a3bb72364e
BLAKE2b-256 7379d3e9f24086146d9d22f2aff39eea24c0006c5962d0121b428cef359e7465

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 3bf832001d505b778884f24058ee725895c62dd6fcc548bceb0235b6156e33f1
MD5 5933893c9f02ba698cff55f81df01b9d
BLAKE2b-256 2d1386ec1218393598aea0b4ef1b9588b03e4b998661f9cb604e10c27ecc0c91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.1-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.1-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 3be34e3382922e61b0aa13d772940aef17c763ae7bc61bd112b6e2b89953aa2f
MD5 2225356e0dbd3734be3c9fb8060355a6
BLAKE2b-256 2522f8267ac5b67122245630ac607a94dc83192662c0d532a9f1cde642a7500e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 d51e342ab36b0f5eea688e63cce4f22c2b79ea9d12b9a60ed94b871a5cd6314b
MD5 3b768efe7dc396d00ca5377330fa3b2b
BLAKE2b-256 74f9c11b74e3ffbe1790703c8fe147b9dda0bf1f4833ca52cc8f3fee06973622

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8b19af1a50253e284b7489789e1bf0942593addc51de4483ad95e72f689a15b7
MD5 f8bdf8a0463a2e36d8ccb9b6cc25cb82
BLAKE2b-256 5a3d1fdc9116d247085bc85bfcea7f105b88f15244c77c7f818f450f9f1c470e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.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.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for dearpygui-1.1.1-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d75636c6780766493c55bea07fd93557562bfb096bda7232d065047176f7aff0
MD5 f7150ec0393ff7d26a34e5c2129bead1
BLAKE2b-256 e9cfd9ba1d0af2e103b528b80ff3b1462990217656f5b184bae431babbdd415e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page