Skip to main content

ImGui Bundle: easily create ImGui applications in Python and C++. Batteries included!

Project description

CppLib Pip Wheels

ImGui Bundle

ImGui Bundle is a bundle for Dear ImGui, including various useful libraries from its ecosystem. It enables to easily create ImGui applications in C++, as well as in Python.

The python bindings were autogenerated from the original C++ code, so that they are easier to keep up to date, and the python API closely matches the C++ api, making it possible to easily port research code from Python to C++.

Python

C++

Batteries included

ImGui Bundle includes:

Philosophy

  • Closely mirrors the original API of ImGui and other libraries
  • Original code documentation is meticulously kept inside the python stubs. See for example the documentation for:
  • Fully typed bindings, so that code completion works like a charm

ImGui Backend

ImGui Bundle uses Hello ImGui, which is configured to use GLFW + OpenGL3. Under C++, this is configurable (see Hello ImGui docs), with some adaptations inside on the cmake side.

Usage with Python

Install

# Install from pypi
pip install imgui-bundle

# or install from clone
git clone https://github.com/pthom/imgui_bundle.git
cd imgui_bundle
pip install -v .

Demo

# imgui_bundle_demo will run the full demo shown on this page. 
# It also acts as a manual for ImGui Bundle with lots of examples and related code source.
imgui_bundle_demo 

The source for the demos can be found inside bindings/imgui_bundle/demos_python.

Usage with C++

git clone https://github.com/pthom/imgui_bundle.git

Then, take inspiration from demos_cpp/demo_haiku_implot_heart, or demos_cpp/demo_widgets_docking

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

imgui-bundle-0.7.1.tar.gz (62.5 MB view details)

Uploaded Source

Built Distributions

imgui_bundle-0.7.1-cp311-cp311-win_amd64.whl (66.0 MB view details)

Uploaded CPython 3.11 Windows x86-64

imgui_bundle-0.7.1-cp311-cp311-musllinux_1_1_x86_64.whl (25.6 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

imgui_bundle-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

imgui_bundle-0.7.1-cp311-cp311-macosx_11_0_x86_64.whl (23.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

imgui_bundle-0.7.1-cp310-cp310-win_amd64.whl (66.0 MB view details)

Uploaded CPython 3.10 Windows x86-64

imgui_bundle-0.7.1-cp310-cp310-musllinux_1_1_x86_64.whl (25.6 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

imgui_bundle-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

imgui_bundle-0.7.1-cp310-cp310-macosx_11_0_x86_64.whl (23.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

imgui_bundle-0.7.1-cp39-cp39-win_amd64.whl (66.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

imgui_bundle-0.7.1-cp39-cp39-musllinux_1_1_x86_64.whl (25.6 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

imgui_bundle-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (24.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

imgui_bundle-0.7.1-cp39-cp39-macosx_11_0_x86_64.whl (23.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

File details

Details for the file imgui-bundle-0.7.1.tar.gz.

File metadata

  • Download URL: imgui-bundle-0.7.1.tar.gz
  • Upload date:
  • Size: 62.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for imgui-bundle-0.7.1.tar.gz
Algorithm Hash digest
SHA256 2b03d4ea5d052aa6abe83f665715e4d96f19f9379398b4bc3ea279f50e60f2da
MD5 f9c7c7c38b380d6d7c241b585212e075
BLAKE2b-256 1b40050ec4613e5d01e6bdd5d0f9504a5eb276974f86f8267697f6b40a2c0b57

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9b37f905624689e0f7e0fc291bba932fe29c59fcedd137a0fda99ec3877faf3c
MD5 1ca5fc30c8429c651c6e467ec88244db
BLAKE2b-256 d0e111f82a1f165d77fda75d9ac949512d56363a95fe070137d69f5d7d7c61d6

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b85a3e67571ffa54871487390985072f10e8787a8d853db81ef323aa758e16ed
MD5 ad4afa5573a76f8566e5de36c3dc1fbb
BLAKE2b-256 e0b7c0a5625b5041c8242e8433492fac84070ce77da0e5d2185ddb4522986b7c

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 04d52ec510421aa394c5507c83e3ee0b7582e3436578f8ee9c97186259bd75ce
MD5 b0b6001e5e12168cf5722113fef0f58f
BLAKE2b-256 dd66de6eccef8b4c0f23b1fa1082ac56ef948d1739c77e284d8cffe83a2c6781

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0d6507f38067997637075a17d14bd5a1f022e3425196f71fc7016ce374196a53
MD5 168ec2cbd28dadb5304a6f15ac526f21
BLAKE2b-256 dccd65f13d6c0d9ddef004081b1c8d3d9bfd63ff3a6b393e6903db1b91815434

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5351f53ce104875b2966e393297445fca0dee331df0e9164c0ca5758e8fedde5
MD5 69a1d83674e0d48e99ca1932fc566279
BLAKE2b-256 a4d21888ed23455fd7d5a758d488371c9d5e9f7ba2429211384344795709fa49

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 03999af458d3d19b0574c66dbbbb5d023a7e5b2c5a2875eb35153c3d6235ecad
MD5 421e1995e6a0c9292abc751ca445c341
BLAKE2b-256 7f9571fcdda21e4f0baf79f4ec2485945fa3298e84d6001852530047478693b1

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b58e0acedb3f012a264306253a999508423177ad4d42c90ab004c11772b45a14
MD5 baacdacb4a90044e93e7cf85dccf2549
BLAKE2b-256 43fbcffd8a927e7077c50276728d6476eff99b8eb7b1d15c17eb30f744fa836f

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 74a88a093eac13ccc639fa47434eddae22c5c736ad99c6ec0b35021f874b1516
MD5 1c7bbf82904ad15a94c8e4ce33c6ded8
BLAKE2b-256 50a8f5ab113d6cc6303e285c108d5e86d0c874d0fe83ff331d7768d7f835fd6e

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 285d4a6c9b62a028e93a295e9b3fa536f2402834e5a0909c19b8ae172c3c751a
MD5 143c897c0d36dcc450154c9f843c085f
BLAKE2b-256 69859f58b425fae30739e379dee83a8469d1f7bee7b1300f235b505503862670

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a6ed2df2267c4831cb0136a41750ebe0f8582098d6cae27d641108fd88167417
MD5 6937ee66591cb4db1975cda07c48a938
BLAKE2b-256 fc781014c5a01dc6b1abdf298585b8080fccad2bae001ec54fcf6a7695fedada

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 404fa48e9c72f0163b24287b7842286a6b3cac3b2419047d250fa5f90a678fa1
MD5 b06477bf8449fa4688a3c9d9f502ca55
BLAKE2b-256 ca28d3460bc18548a9a131a972a9d3063e98f3b65916094ff3ef11c7419df2e8

See more details on using hashes here.

File details

Details for the file imgui_bundle-0.7.1-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-0.7.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 b078e77b25e4314d858c66b82303c12b0da222240696b96bc47158e6650b0180
MD5 c3827c41eba8af831af83a5d40fe07df
BLAKE2b-256 6c4946bb6e8b46648a5dffe22d7f75f36dc8de2723128b50336d6c3ef675196d

See more details on using hashes here.

Supported by

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