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.15.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.15-pp310-pypy310_pp73-win_amd64.whl (3.7 MB view details)

Uploaded PyPyWindows x86-64

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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13tWindows x86-64

dearcygui-0.0.15-cp313-cp313t-manylinux_2_28_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13tmacOS 11.0+ ARM64

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

Uploaded CPython 3.13tmacOS 10.15+ x86-64

dearcygui-0.0.15-cp313-cp313-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.13Windows x86-64

dearcygui-0.0.15-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.15-cp313-cp313-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.15+ x86-64

dearcygui-0.0.15-cp312-cp312-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.12Windows x86-64

dearcygui-0.0.15-cp312-cp312-manylinux_2_28_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dearcygui-0.0.15-cp312-cp312-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.15+ x86-64

dearcygui-0.0.15-cp311-cp311-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.11Windows x86-64

dearcygui-0.0.15-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.15-cp311-cp311-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.15+ x86-64

dearcygui-0.0.15-cp310-cp310-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.10Windows x86-64

dearcygui-0.0.15-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.15-cp310-cp310-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dearcygui-0.0.15-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.15.tar.gz.

File metadata

  • Download URL: dearcygui-0.0.15.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.15.tar.gz
Algorithm Hash digest
SHA256 ccf1462f80f27367b1d46a99145ba365f2f1ea2fe1488b6f8c0ee27adf70bab8
MD5 55ed8701d17e5ec4c5dd53cd16383967
BLAKE2b-256 b286e6ee6d463942484be3136c0ac19e0c36c2bfa89ff3aef7a2ec241ff0b711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 98305126367782f5c2d1d4f54365dc499e09da383273bf528fd64f41bc3ebc33
MD5 3ad15c5a7e917765a3d2425fe3d41bae
BLAKE2b-256 73e68f0619a3d81e029cf0256e54df0ae867341c68c90ced4a5f1279ce9eebcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 128eee35108c69d2ebb6ce466a0e7804fe39abbbe33c08dbb193d4c111fba056
MD5 f653247cbba262960e856ac07d231a54
BLAKE2b-256 1c3ef43e3d13da712d2aa85a17942194cbf0f4381787985b8ca10bae818a9ebb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 64a17c560235ed7e76960b1877b3ff142fd84582df51cc86b76d956a259cb9cd
MD5 99610349b310166b83be93d054b01616
BLAKE2b-256 20073a9b488c79b2ddcb352057f361cd476bc87cc0cc2aad9b17fc500224b931

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a07d559fa875f689fc153c74f513fcbe145e45f6ea0fcb79974ffaae31b14ec
MD5 08bac145bc768de94080789a02128015
BLAKE2b-256 6d067cf89a6484e608523a0ff94339d1125fd3d781845ce5c24958de3f6d5de2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd2f37c2d6d6e5784b37fd5d286b177221144cf5b08f294cfdc19654c33b8280
MD5 278716766dbefbc58330a60cc9713383
BLAKE2b-256 71c0653a968cb40b661651f807905ff5133d204349bc8539dd46245a5bbe82f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 44c82225abbfd96cc04013a3e5690051636381401152bd2e70f3d21b627175f6
MD5 a5c8d08a46403ba964a4b13184595bbe
BLAKE2b-256 dd97c9b77e9a8e8bcb5bba158dcce02b97ab49d8e767507393906e3798085f49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearcygui-0.0.15-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.8 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.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 39f9a03e62f8657d087e6ce1b095b9ada3e88bc312233b672e3ab1587d1ff3ba
MD5 16230ef3660f69348bcba09da10646fa
BLAKE2b-256 11e47d85fb7da67162938b9dab2906241d972f1ac4d7cf4feb2a9503f422f1db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c0dd9e17ef0d6468c1095e20b372d9b2f249f53a06343fce152a95ae287b8cfc
MD5 840946d3004ca9a9a0aff3232f3227fd
BLAKE2b-256 a76ca5337f629d488b2d8b085127d7bf128255b69829269a30978d728e89c898

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 316df250263bd0c97c46b161e9be272f64c944c8f3f9c36ec1e77bea59fe8c6d
MD5 d39e582c5788864b71b175277f59faa8
BLAKE2b-256 1412248ee146707c8445b2958b802fe7d0a11c065ed612e2eed2e307c384df57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4ca7720302e0df2284f6a8128b93990dfd776a78526fc0add3ba0b790a330e78
MD5 331365c06e6471d3d7b88ecf55ed5bfa
BLAKE2b-256 60ebdfce854283d8e013ddff8be4369bd887c1e863ea29cfef3e9d21ce7a2c53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearcygui-0.0.15-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.8 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.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 52aee8edbac6041e7195795ada5711c8c48c192c8a93f5d420aa7ca22dc4f6ca
MD5 033b3b2ea13d69fb27a47c09caf5483a
BLAKE2b-256 8d2000974d9198eb473cecdac99cd63575812a83aed881ac6685b070207722f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4d04bb17d9934e88fbf2bc9b3c73b633626a4fa23f3ae7f5c1e35f32d81e3a95
MD5 09d51a4dede178cc760183f2efd01cee
BLAKE2b-256 b0d814782e0120b8d019afd351d506ed8c255c7cbb627915385f633eb3fc2aaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 308e6e1b5e5299c4f6bbf3cb36daf769057a9de931041cfb1bf2fac409a7c85d
MD5 707f8599a2b8c0926fee9b88e134f4b3
BLAKE2b-256 5b773607f83ce509fc144a98f92bd3d2064ce31fbf3ddde7d980cac2825aa06b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 924313e536a79cc16e70f74ab3b8b8ec6726e7064d536f6ac84b8cf3237fa042
MD5 40cd63d4e4e552790fb6b93bad31175c
BLAKE2b-256 c57295c1c07bec38e3cd37b113f748e63001feaf742ba312393399682c95939c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearcygui-0.0.15-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.8 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.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c9df6ff6da96272d8271501e12ceb95ff3f78971078bd30851b5ab911e069db3
MD5 6457f7514235af144f81d3ea7dd09754
BLAKE2b-256 33e2b320f92738d7fa5ea4947e3be8df79fd123a0846bc44c87085d6dc77ee5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fb0925175eed55a6a9c459154dc11b735e56251b6e8271bf3bd54b4c94d844c5
MD5 40e38c0c62e90951e906954bdcd0598d
BLAKE2b-256 6aa8785f99bfe9031fefa1ac3fc44dd48adf5b1451980f0dfe25d7ccb1479d76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b8b3ca8ae77e136a468bc7c94c0601849e1bd18b3200fea2d70bf14f0d59ca8
MD5 bdbc48d1439e958497662928d101d9a0
BLAKE2b-256 23022dae9a428c502e5f755defe524b4fbdf72678348151bd9253437780019a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2f967546fc7bc5fb3a2defcb4792b342ced4251d0d7e50192a609693d28419d9
MD5 c3aaa10eba51461dbf2fd840a3c201d9
BLAKE2b-256 49aac2631bd41b91caa80a639afcbab290d2d821ff42b2fe51b3cbe8abcb0d7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dearcygui-0.0.15-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.8 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.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 856d2cce5efbb03944825d8a990e236771077ddf0f11f1af52817d519eb82250
MD5 a6468fb923a9b5cd5be5173b6c37aae3
BLAKE2b-256 3e8d064031353c49d0ddebdf1acca5f7a3137add6663cba7e79efd52a90e98b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 442b04ca92d2c4977f0ca5ec18cee7409fb30b8e0c39146c08d67c045f072ab3
MD5 e95c24793517b79ae9cd81b616850194
BLAKE2b-256 9228fa4dac4e0f4acf3e120cb2c3c6299d422e71dc1c4c0f9d904bd7df6bfcb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 176b4991a81f1e4c7ea58b67b8ab6d0c072b8bd41ffc980862ebb4944661acd8
MD5 3181a6fc2c8b4cac47393237fca426e3
BLAKE2b-256 bd6f36d4081ee2f182679118cae0da6bf72d9e315788c9b5e2b68b61933a5235

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dearcygui-0.0.15-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2d77c3594009d9af46f5a512dc1c4e44a69a904b0fc9fb3f054145dcf4c3bc3c
MD5 8f9c3955600e1c1b5eeef7c6ca0e24a8
BLAKE2b-256 43e43a3e857f3a08eb1527bc7426dec2d08bc63746c5fbd4a33ed5db81da238a

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