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

Uploaded CPython 3.10Windows x86-64

dearpygui-1.1.3-cp310-cp310-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.10macOS 10.6+ x86-64

dearpygui-1.1.3-cp39-cp39-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.9Windows x86-64

dearpygui-1.1.3-cp39-cp39-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.9macOS 10.6+ x86-64

dearpygui-1.1.3-cp38-cp38-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8Windows x86-64

dearpygui-1.1.3-cp38-cp38-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.8

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

Uploaded CPython 3.8macOS 10.6+ x86-64

dearpygui-1.1.3-cp37-cp37m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

dearpygui-1.1.3-cp37-cp37m-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7mmacOS 10.6+ x86-64

dearpygui-1.1.3-cp36-cp36m-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.6mWindows x86-64

dearpygui-1.1.3-cp36-cp36m-manylinux1_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.6m

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

File metadata

  • Download URL: dearpygui-1.1.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 78aa47ab25455dffc538726ee666bb57342f945e78d96b26e0a4699c9d269250
MD5 0b7a42fd973971bb94741652b0a1fb18
BLAKE2b-256 281df5620ecaf35cbc263cdc10abf9c4488b5126d3ef23f70d16041d1a4e140b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c802494384895b3ba9b16bc139b958050f2d38ce258d361de13b6ca788aba8ed
MD5 7322fd1e84c0abd3cb20f0738f149579
BLAKE2b-256 561ebb4b9c71701514ae9cf723ebb0af4a526030e0d868a442312ef7bcc99b2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-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.7.1 importlib_metadata/4.8.2 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.1.3-cp310-cp310-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d6d91e3c2e5a6f9d3a0f316d330e5a823dfbe3e0c0f4e6d4889787119f114974
MD5 27eea770d5558bdbe7adf285b4ff7522
BLAKE2b-256 6ebf7fd6f580438103f816d13a9eea866cbd1195d70f88e1ddf4067c9dd0f85d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8981cc236aaf881f17e8fc1416d07f11e85f0b851df2a816e63917fa8eafd3bb
MD5 8a03792c3372a7830ffc1126456ddf38
BLAKE2b-256 67ac5544d1a2eee1cfb51209b00d3181cc7e8a1f46c15a518d96aa72c9dc5121

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03a1485e3a9196d1c0bd4eca3f4674fdac3d3e9edd3db70147dcf0151eee4dfc
MD5 ebc61e226bdc4e22e84b5a50a1c43938
BLAKE2b-256 7aca4742dc98732234078e1d4922cd24b089e9e8651d1b84dc516d3e4540a302

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-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.7.1 importlib_metadata/4.8.2 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.1.3-cp39-cp39-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 f07969f3ccb8f2bd70044a7b8dff402a8756deebd8e7aea7995921adb208f2d9
MD5 34fbb551a32befc9545894039cb794e9
BLAKE2b-256 1a1df7b6e363a07a0227508420281d4154b409b29e101f447e072faae1fabff9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c4a699818a25782c1aa52a48c3a804c7f654e599e9a815fbe76f1e62ecc9c197
MD5 e74ac2789d275c56985dac44ddf0972c
BLAKE2b-256 82cba6c57a7a314d898ec181d344a45156a902a2bb279050f84566b5b7a6096b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5c2c5f680c620a3f3179e3754bea7710eafab5e0518c1ef80a15c2cf3ea49b68
MD5 e0f4e93e1197d1941b7885a5c565cc2e
BLAKE2b-256 0fc03f02dae5512b83aeb3e969ae28ec85b5d255ec101360845d07102efedeb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-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.7.1 importlib_metadata/4.8.2 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.1.3-cp38-cp38-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 d034d427054da483d5ad8596f698654da4e9a761162c539988612f0b830c7d73
MD5 ee52fd0c717d66792c817b93390dadce
BLAKE2b-256 70b65323043e9a40dc58c98f8317cca09f074ac4be42c614bda8078b900da03e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 115b081439c4dca760723968b36f7209eb25853c40b7ab57f57b130f0e3cee3b
MD5 64d97748aaaa94e3ef1bae1a02d070aa
BLAKE2b-256 3caaff74c351952a358c46142251b8ed16e081f3e30fa74192c6a077ec5b86fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 04dbc7041c365f6f6d5b856626ef9bae82d3aab417b0ab95c36490dd02ab30b0
MD5 02986c448669e5d37cb9cd863e011ae2
BLAKE2b-256 4818df9d00da502c7c9e59f9e89e2bc09c06794f2f8f088065dd37eb371354e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-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.7.1 importlib_metadata/4.8.2 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.1.3-cp37-cp37m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 6d521bbc18bcf03a2d064dfb9e4ad345934251378dd5232a7c51e6b7ee7a0c49
MD5 9222a80bb3615feda16ba0d3de90b37a
BLAKE2b-256 08f197c8f403877e5ffac4b5433b201b418ddf242596e9210f723163f520b387

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 de98a49cbc3690947e48ffda6213b71396133c1e14b23d12ae56b8bb611a19aa
MD5 6df0b52dee3628806c7db8d6277f6959
BLAKE2b-256 a7d2594698af52195c0adfe67f15dddcd6ad40f701ff6b01dd589cc0331cc0bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 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.1.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f34d94a249709cd4f0588a550216fdd7a6d387712271831294dd263e08214648
MD5 10e7476abe2b59ba01a6239ff46cf08a
BLAKE2b-256 13fd2d22e7bd0483654967879e205ae1cffb2cfda441ac19ab771392057ad68d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearpygui-1.1.3-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.7.1 importlib_metadata/4.8.2 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.1.3-cp36-cp36m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 fbdf5bbc8642d381999c4559257378b0317d350d84e2333374f57a4da9ac0a65
MD5 26f61e15902051070e521edd6d12076e
BLAKE2b-256 04a3d3df9f2e433ba9c2d8e8706de94e9c3bd66f206e98d03f611a0ddedc50e8

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