Skip to main content

DearCyGui: A simple and customizable Python GUI Toolkit coded in Cython

Project description

DearCyGui: a Multi-platform (Windows, Linux, Mac) GUI library for Python

DearCyGui is an easy to use library to make graphical interfaces in Python.

Main features are:

  • Fast. Speed to create and manage the interface has been one of the main focus.
  • Dynamic interface. It is based on Dear ImGui (https://github.com/ocornut/imgui) to render. Each frame is new, and there is no cost if the content changes a lot a frame to another.
  • Unlike other libraries based on Dear ImGui that provide access to its low-level API, DearCyGui is more high level. As a result your code is easier to read, and less prone to errors. Python is not adapted to call the low-level API as it would quickly become slow (as you would be required to re-render every frame). In DearCyGui you build objects and the backend handles calling the low-level API.
  • Customization. You can create your own widgets or draw elements, and alter how they are rendered.
  • Even more customization, if using Cython. You can cimport DearCyGui and directly access the item internals or create your own drawing functions.
  • Adapted for Object Oriented Programming (All items can be subclassed), though you can use other styles as well.
  • Uses SDL3, and thus has high quality and up-to-date support for DPI handling, etc.
  • MIT Licensed.
  • Low GPU/CPU usage.

Installing

pip install dearcygui to install an old version

Latest development version:

git clone --recurse-submodules https://github.com/DearCyGui/DearCyGui
cd DearCyGui
pip install .

Examples & Documentation

  • Demos Gallery: [https://github.com/DearCyGui/Demos]
  • Documentation: See the docs directory or run documentation.py in the demos

Design Philosophy

DearCyGui bridges the gap between Python's ease of use and Dear ImGui's performance. Rather than making direct Dear ImGui calls each frame from Python (which would be slow), DearCyGui:

  • Uses objects created in Python but managed by compiled C++ code (generated with Cython)
  • C++ code handles the per-frame rendering via Dear ImGui
  • Python code defines the UI structure and handles application logic
  • Cython enables seamless integration between Python and C++

This architecture provides:

  • Fast rendering performance
  • Clean, Pythonic API
  • Full Dear ImGui functionality
  • Extensibility through subclassing

Credits

DearCyGui began as a Cython reimplementation of DearPyGui (https://github.com/hoffstadt/DearPyGui) but has evolved with additional features and a different architecture.

This project uses:

Huge thanks to the Cython team which have enabled this project to see the light of the day.

Portions of this software are copyright © 2024 The FreeType Project (www.freetype.org). All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dearcygui-0.0.16.tar.gz (31.5 MB view details)

Uploaded Source

Built Distributions

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

dearcygui-0.0.16-pp310-pypy310_pp73-win_amd64.whl (3.8 MB view details)

Uploaded PyPyWindows x86-64

dearcygui-0.0.16-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (10.6 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

dearcygui-0.0.16-cp313-cp313t-win_amd64.whl (4.1 MB view details)

Uploaded CPython 3.13tWindows x86-64

dearcygui-0.0.16-cp313-cp313t-manylinux_2_28_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ x86-64

dearcygui-0.0.16-cp313-cp313t-macosx_11_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

dearcygui-0.0.16-cp313-cp313t-macosx_10_15_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.13tmacOS 10.15+ x86-64

dearcygui-0.0.16-cp313-cp313-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.13Windows x86-64

dearcygui-0.0.16-cp313-cp313-manylinux_2_28_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

dearcygui-0.0.16-cp313-cp313-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dearcygui-0.0.16-cp313-cp313-macosx_10_15_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

dearcygui-0.0.16-cp312-cp312-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.12Windows x86-64

dearcygui-0.0.16-cp312-cp312-manylinux_2_28_x86_64.whl (11.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dearcygui-0.0.16-cp312-cp312-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dearcygui-0.0.16-cp312-cp312-macosx_10_15_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

dearcygui-0.0.16-cp311-cp311-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.11Windows x86-64

dearcygui-0.0.16-cp311-cp311-manylinux_2_28_x86_64.whl (11.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

dearcygui-0.0.16-cp311-cp311-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dearcygui-0.0.16-cp311-cp311-macosx_10_15_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

dearcygui-0.0.16-cp310-cp310-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.10Windows x86-64

dearcygui-0.0.16-cp310-cp310-manylinux_2_28_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

dearcygui-0.0.16-cp310-cp310-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dearcygui-0.0.16-cp310-cp310-macosx_10_15_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

File details

Details for the file dearcygui-0.0.16.tar.gz.

File metadata

  • Download URL: dearcygui-0.0.16.tar.gz
  • Upload date:
  • Size: 31.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.3

File hashes

Hashes for dearcygui-0.0.16.tar.gz
Algorithm Hash digest
SHA256 b8cf5becaca9addf0286e0e3d7f32da70438baaa00a305c580bbfa37a9aae7de
MD5 7710d636629e16aef5482546de6cbfb9
BLAKE2b-256 423fe68efd5ec3b6c01c8b0d78547bba4beb91d9061662b19c46f031d0a8eaff

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 d0ca89b216ed6700dbc699fe835538b7133b69a744c744a97e4c1623f0f00834
MD5 ae69eb80820a96c1a56c291b0694368f
BLAKE2b-256 e664677b94c6679bb5ce9a8d6c89d40dbd21ac1c004791cd3490cbef773c4870

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d2561d2dad209f6bd4192a4a858d286f78c900c428a5d821d19701f1e9c59c4f
MD5 1a5bb1e78165944aeb619206f8b35600
BLAKE2b-256 53ebc546a7ad5e6f7659c9d2f24e0dc2728e4a4608c97bee5c1d3c2717b50790

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313t-win_amd64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 9469be2d912775fc8a3197867b892c8c936853ec2fe365e21ed9f66d0213798e
MD5 8025616f3f7fb6a731d0bd5d7d512e91
BLAKE2b-256 a5b0ac39fabef01b555c83788a3e7cf8ffbdb70643ff30666bea54016cdf385a

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fdb0b680e1b73c0988bc428976abe362de89e0bd2a450002f322cdace50772f5
MD5 0bb42a5c9b099ae361a6ee5ea67940ca
BLAKE2b-256 598fb098027a831640508c3bb573bd0fc3d45d0ba6b4d722e1715c6ffe22cdbc

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d15ae6eb2fd592a12818fd8574ff22c88ce357260ff9edadb0ac99a980c3499
MD5 71b28794f52fb19c733a2ccca8056deb
BLAKE2b-256 142e53f8441fd74c6f267730e760da81df28dd9f3cef9ff88fb128c2ecf4644f

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 0f6ca90223d1b368692f1977820567b7ceefe2985866f9db5f8e94fe2a8dce7f
MD5 f8d76bd1c57227279be87b0400290188
BLAKE2b-256 20b93ad4be4b99d19fc16c5d6d9785b794fd401ccd48bf931ce22b5fdb929094

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: dearcygui-0.0.16-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.3

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 68d57c54b5c38e5d37650c47d7242866f3723e7a364b139d2780ae6f73a54224
MD5 6175d81f5e91f3d6ce11641240b80157
BLAKE2b-256 bed16d87295a7f2a539af0472365dbaf659d8db030e05287de3b6b6aa817b249

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cf10a43db6001a4eca31bb7777652d6addc573057d5a7a615f65360d39747ab
MD5 73f73b8347f863f831eed79aa834e84c
BLAKE2b-256 419a5cbef789a4a7c7dba82eba7f941d059cf1bcb578055702fad6bc97f43bea

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8a28021e0a51761347f023e53a3403ddee0852413b8241b117803161d3a87f0e
MD5 fc30cefaeb94b2edaffdb03de05d6f31
BLAKE2b-256 f65c28ecd29beaf93ec15f4640ba99634fe064b448fd2b11dc7ee9301a2913e6

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp313-cp313-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 18ff74db4254d42bba424455fa3db09c3da6c6ce848cfe63060afe449741af10
MD5 146ff290e703efa97a8d32c2e703edd5
BLAKE2b-256 eda0528a724186e1cc06a39b44fec1dfb50f575594fb7296cfb51b0ae30fdf87

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: dearcygui-0.0.16-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.3

File hashes

Hashes for dearcygui-0.0.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f374852bba76b9806b000f9508990c97e70fa91cccc689708042526285aeb5c0
MD5 bae1e5cdc44f25bc15f02344c7851455
BLAKE2b-256 c4158ada604e48b5bfa2c0e0686afa4309ec58ab9948cca37b1a22f58c8afc76

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f3d271114af8fb2dd6c7ef6993e0f27339d2b74963c8e661a5728411bef14c99
MD5 b47d22fb505836cc2ca3b80d7335603a
BLAKE2b-256 419423a3c53a535f7be400cc22b30dd971fe050139376e130b865a30318c15a8

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67fe696d13a17e881bae84c7ac903d45331e4c943968aef9cfd9ef50664b1a15
MD5 9b38e2b039a90314b78dc73189b7e8b5
BLAKE2b-256 a1d355748bb071baf834e54e6465bf6b9f8fa4b60511fefce448aceb7968ae68

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b6a7f3959775a47ba843569d5820581ecce340e006a329748f991e085220ffc0
MD5 17f59d3ccbb7244216894757c1f9862b
BLAKE2b-256 84d644882fcfc55f36fb89b325a0bd3dcd6ee90db6b3c4689b1f270335d30714

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: dearcygui-0.0.16-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.3

File hashes

Hashes for dearcygui-0.0.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 86dd8c558c19f29807a6deab4f80b97bdc55edb7a112e83f2d49022e90ba5360
MD5 03a001568e2428a4066cfb65d426096d
BLAKE2b-256 c256a3df613cc4ade7589c61e202c6bdd7733f895fcdc486d54e2f7b826a9ad2

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 daed3d536e6f5d26508e51fbfb5c132ec5b9cd0f1cbf32cda1c3816a0f82ceff
MD5 5b58c947a4375fc3a0be287d5cfff5d0
BLAKE2b-256 79435b1705b3d089e30f66d984ba4648721c1cd7547ef2b4e13c28a296c5b1c0

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b8a05656739891b3913c010d2c7601228cb843efcd9df7383e5a4870fd27ded1
MD5 9b5750096be36a14d7d88fc8e04cae4c
BLAKE2b-256 2cbe4df858992f105f85bceec4309ac29e7fff6ba0905c713ec12120243db58b

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 18f251b71a729b582c490301972972e3bd39e3e2e3618f35bfc7627ecaa8b75d
MD5 c2d89a2cf91f3a82ce67195eb0e170f4
BLAKE2b-256 6a56b45e71c0a4c6cf07072d046d6cc40f3fca6ffbe907864425db10a1082f3e

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: dearcygui-0.0.16-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.3

File hashes

Hashes for dearcygui-0.0.16-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 635ccc3e4c307dad6c454e1c9c8a46c23185a0270f6925f517512ac91f3ba5bb
MD5 3191477a1c76ed138d3d9939e41747cd
BLAKE2b-256 64e7f7cfd3d4641cc3950da4b3fc78ce49d509dfc9a792408f72e4b257f9391a

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 149b698e91eb1874e27c3b7e77e4a06cffbf64537c2520e2e3f7566fa4003bf6
MD5 e6108ed497ded60691e1d1378630fdfa
BLAKE2b-256 68ddd3937ccc8ab257dff953738467b0dedeb7c6fcbfc4b85d0522fbf20c89b7

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a577bf63cb4680deded6ce790d36809e0e6e5b59d25b2623454e9528c760a362
MD5 63c4431126a18738b0b33b4e313d9ce2
BLAKE2b-256 ce3a3dd530d48ebc87a34b63acacf3d1ee1f5fcfa95127e825f238301f755380

See more details on using hashes here.

File details

Details for the file dearcygui-0.0.16-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for dearcygui-0.0.16-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6321f2bf445ea5c46bccc6b943a634efff32b580db3393f9436e653863a3fd91
MD5 a29115d7cd66ab75a86abc27d3a9afdc
BLAKE2b-256 096f3b8338481211672cdde8fe0b59395245cde3a48a27461a096552aa2c5cbd

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