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.


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.7 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 as 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

Ongoing Dear PyGui development is financially supported by users and private sponsors.

If you enjoy Dear PyGui please consider becoming a sponsor.

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

Project details


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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10

dearpygui-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.6+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

dearpygui-1.5.1-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 10.6+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8 macOS 10.6+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m macOS 10.6+ x86-64

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ce79101e7b82217eda38ceabeb2dc52b98d1198ae887377c78a465a58d4422a8
MD5 56b87d741c2a8d45b74f86281a44275b
BLAKE2b-256 c8187e1c4d0f54ddabff6fd50d32d76a2e27f8025c24586949b805389731d2d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e42f7329268d1145937e20927d5014dfbc0050285968d71a73b6339f18b0be1e
MD5 a102e08972f4b8026bf0c5757dece9d3
BLAKE2b-256 65724abff7047de4b029176856e7bbc5b1a83cacadd22450a1f4d597bcdd815c

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for dearpygui-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a6724a07edc2740ed8beb3a23c7572f0cbf842ce470385a9c3708c477ed78a9
MD5 0a3b51c8fef43ff2deca0c38a2d42847
BLAKE2b-256 cad58576daf0d5f1575daf23313a7fe3930240bc3f5c2d24844110ac290c21c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e831d33fd9fddc8a58e9c63ae5da328f3a6224cb976e3cdcd7ed81a0a5e3b6b8
MD5 c762c75c9f1bdc908caa7b9da90bd6a5
BLAKE2b-256 8d07875d5d94a9e8d789c01284de30ca56716b6731253d7b501ec838704590ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.5.1-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/4.0.0 CPython/3.9.10

File hashes

Hashes for dearpygui-1.5.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4f047d016efe45244949af1db7197fc277ab528f488e2cd3501383cd2a08c030
MD5 d8d4cb0f6dce9544bb8b7ed002fe9f7a
BLAKE2b-256 0c6bafc8ab58b69eefea5d11c368452b50d675df87978b7fea6be004578a0481

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1201f73fdd1e786965ad1e36112ee2c2a1bd8e97955afe445b65de2131d4adba
MD5 f767e70cbd1f941e8866683ef1f0782d
BLAKE2b-256 1081208a9ea49eb813295dd1fabb75631404633ad7308be7bdb5d6c8f1f842c1

See more details on using hashes here.

File details

Details for the file dearpygui-1.5.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: dearpygui-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for dearpygui-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e29b45218c22c7974abd7e7db290527b229ad820fc251bed3384c0c89d9c969e
MD5 009b70a055ea94af1955bb33aad7d854
BLAKE2b-256 5119f1d37eadb409ec192ddcc5498a036eb9bb9261cad5d97cb06e8d6b97fe37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e3db4afe5cfe66599c86ef9a2d1a0585877077f2acfd1b5667cf009d66bbc8f5
MD5 8a1305ba17998ab0b69f22b43931665b
BLAKE2b-256 5dbf68487409bf6bdcdc61882044d89d85411d5414afac70108793890e77c873

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.5.1-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/4.0.0 CPython/3.9.10

File hashes

Hashes for dearpygui-1.5.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6d0186f5bc8e51177ac3459ac8e8c1e45f6321e448c6c099425a14346fd87ed2
MD5 bac6e3961c8f7afeee692e312d1f8229
BLAKE2b-256 865dcd4e9e1f993141ee9ef0d7a8d565a0b1db862ead18c38827b770028e5dae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b02c03a3beb1413ad6ac2568f104c85f6d97f105da3136e46e3cc9aa6e07ce2f
MD5 1e64969f54c2a367d9a4a454db1ccd88
BLAKE2b-256 32d87b0b8b84d3b3189ca3128aad34df15c1c5c65bb4a64d4ab911e4f8270f1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 0c3b118e2441d6f16f69e1963bdd8d30271d97ca9f1203e993ad21d4ca904c5a
MD5 a1f668179532e766f1a66c058783f35d
BLAKE2b-256 ae3abe742fb9bbc6fe38f3f6c5526cb980c77787f937f76fc309900707f09757

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 01a1b9b781c4a9396bfc65eb4c81b6648e99d37eafc7448c6f57dfe70b823aed
MD5 3fb6444240b23f0bcea5d0251499a04f
BLAKE2b-256 afbe282a6f093a7f00ab34284427ef8c040e2612d5ac5286d4f380f43c39aa8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7fbd3c15190deadeb3ce15f498de096ee3423e9d2bdd4401053435ecaf1737f0
MD5 2b5f04d9ab7a46a44ba5330182a77a4f
BLAKE2b-256 a87329563de2c069aa6cf39f8a60817e0fa07097a7436002f18888cde64eb24a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearpygui-1.5.1-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 f27d92529feedf4a934f771063201ebbdcf5f73fef5138fc62685659a582abe4
MD5 0c56afc9b5e5b329d2c2011dba164325
BLAKE2b-256 032a26ebfea1e72eed2f2d64132104f3b88cc3d16d614702b051a3ab1e853a6e

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