Skip to main content

Note: You can find a more complete version of this document in the official documentation site for Dear ImGui Bundle.

abc

Click the bird for the interactive manual!

Dear ImGui Bundle: an extensive set of ready-to-use widgets and libraries, based on ImGui. Start your first app in 5 lines of code, or less.

Whether you prefer Python or C++, this pack has you covered, with the same ease in both languages.

sources doc manual

Key Features

  • Easy to use, yet very powerful: Start your first app in 3 lines. The Immediate Mode GUI (IMGUI) paradigm is simple and powerful, letting you focus on the creative aspects of your projects.

  • A lot of widgets and libraries: All of Dear ImGui along with a suite of additional libraries for plotting, node editing, markdown rendering, and much more.

  • Cross-platform in C++ and Python: Works on Windows, Linux, macOS, iOS, Android, and WebAssembly!

  • Web ready: Develop full web applications, in C++ via Emscripten; or in Python thanks to ImGui Bundle’s integration within Pyodide

  • Always up-to-date: The libraries are always very close to the latest version of Dear ImGui. This is also true for Python developers, since the bindings are automatically generated.

  • Interactive Demos and Documentation: Quickly get started with our interactive manual and demos that showcase the capabilities of the pack. Read or copy-paste the source code (Python and C++) directly from the interactive manual!

  • Fast: Rendering is done via OpenGL (or any other renderer you choose), through native code.

  • Beautifully documented Python bindings and stubs: The Python bindings stubs reflect the C++ API and documentation, serving as a reference and aiding autocompletion in your IDE. See for example the stubs for imgui, and for hello_imgui (which complete the hello_imgui manual).

For a detailed look at each feature and more information, explore the sections listed in the Table of Contents.

Interactive Manual

Click on the animated demonstration below to launch the fully interactive manual.

Demo
Dear ImGui Bundle interactive manual (in C++, via Emscripten)

Online playground in Pure Python (via Pyodide)

Since ImGui Bundle is available in Python and Pyodide, an online playground will enable you to run and edit various ImGui applications in the browser without any setup.

Playground
ImGui Bundle online playground (in Python, via Pyodide)

See this page for more information about availability of ImGui Bundle in Pyodide.

Example code

A hello world example with Dear ImGui Bundle

demo hello

For Python developers

from imgui_bundle import imgui, immapp
immapp.run(gui_function=lambda: imgui.text("Hello, world!"))

For C++ developers

#include "immapp/immapp.h"
#include "imgui.h"
int main() {   ImmApp::Run([] {   ImGui::Text("Hello, world!");   });  }

What’s in the pack?

Dear ImGui Bundle includes the following libraries, which are available in C++ and in Python:

Dear ImGui : Bloat-free Graphical User interface with minimal dependencies

demo widgets imgui

ImGui Test Engine: Dear ImGui Tests & Automation Engine

demo testengine

Hello ImGui: cross-platform Gui apps with the simplicity of a "Hello World" app

demo docking demo custom background

ImPlot: Immediate Mode Plotting

battery implot

ImPlot3D: Immediate Mode 3D Plotting

battery implot3d

ImGuizmo: Immediate mode 3D gizmo for scene editing and other controls based on Dear ImGui

demo gizmo

ImGuiColorTextEdit: Colorizing text editor for ImGui

demo widgets editor

imgui-node-editor: Node Editor built using Dear ImGui

demo node editor

imgui_md: Markdown renderer for Dear ImGui using MD4C parser

demo widgets md

ImmVision: Immediate image debugger and insights

demo immvision process 1 demo immvision process 2

NanoVG: Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations

nanovg full demo

imgui_tex_inspect: A texture inspector tool for Dear ImGui

demo imgui tex inspector

ImFileDialog: A file dialog library for Dear ImGui

demo widgets imfiledialog

portable-file-dialogs OS native file dialogs library (C++11, single-header)

demo widgets portablefiledialogs

imgui-knobs: Knobs widgets for ImGui

demo widgets knobs

imspinner: Set of nice spinners for imgui

demo widgets spinners

imgui_toggle: A toggle switch widget for Dear ImGui

demo widgets toggle

ImCoolBar: A Cool bar for Dear ImGui

demo widgets coolbar

imgui-command-palette: A Sublime Text or VSCode style command palette in ImGui

demo widgets command palette

A big thank you to their authors for their awesome work!

Install for Python

Install from pypi

pip install imgui-bundle
pip install opencv-python
pip install pyGLM
  • imgui_bundle: Binary wheels are available for Windows, MacOS and Linux. If a compilation from source is needed, the build process might take up to 5 minutes, and will require an internet connection.

  • OpenCV: in order to run the immvision module, install opencv-python. The alternative OpenCV versions, such as opencv-python-headless (headless) opencv-contrib-python (with extra modules) also work.

  • pyGLM: in order to run the demo, install pyGLM

Platform notes

  • Windows: Under windows, you might need to install msvc redist.

  • macOS : under macOS, if a binary wheel is not available (e.g. for older macOS versions), pip will try to compile from source. This might fail if you do not have XCode installed. In this case, install imgui-bundle with the following command SYSTEM_VERSION_COMPAT=0 pip install --only-binary=:all: imgui_bundle

Install from source

git clone https://github.com/pthom/imgui_bundle.git
cd imgui_bundle
git submodule update --init --recursive
pip install -v .
pip install opencv-python
pip install pyGLM
  • Since there are lots of submodules, this might take a few minutes

  • The build process might take up to 5 minutes

Run the python demo

Simply run demo_imgui_bundle.

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

Consider demo_imgui_bundle as an always available manual for Dear ImGui Bundle with lots of examples and related code source.

Closing words

Who is this project for

Dear ImGui Bundle aims to make applications prototyping fast and easy, in a multiplatform / multi-tooling context. The intent is to reduce the time between an idea and a first GUI prototype down to almost zero.

It is well adapted for

  • developers and researchers who want to switch easily between and research and development environment by facilitating the port of research artifacts

  • beginners and developers who want to quickly develop an application without learning a GUI framework

Who is this project not for

You should prefer a more complete framework (such as Qt for example) if your intent is to build a fully fledged application, with support for internationalization, advanced styling, etc.

Also, the library makes no guarantee of ABI stability, and its API is opened to slight adaptations and breaking changes if they are found to make the overall usage better and/or safer.

Acknowledgments

Dear ImGui Bundle would not be possible without the work of the authors of "Dear ImGui", and especially Omar Cornut.

It also includes a lot of other projects, and I’d like to thank their authors for their awesome work!

A particular mention for Evan Pezent (author of ImPlot), Cédric Guillemet (author of ImGuizmo), Balázs Jákó (author of ImGuiColorTextEdit), and Michał Cichoń (author of imgui-node-editor), and Dmitry Mekhontsev (author of imgui-md), Andy Borrel (author of imgui-tex-inspect, another image debugging tool, which I discovered long after having developed immvision).

This doc was built using Asciidoc.

Immvision was inspired by The Image Debugger, by Bill Baxter.

License

The MIT License (MIT)

Copyright (c) 2021-2024 Pascal Thomet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Alternatives

pyimgui provides battle-tested comprehensive python bindings for ImGui. I worked with this project a lot, and contributed a bit to it. In the end, I had to develop a separate project, in order to be able to add auto-generated and auto-documented python modules.

Dear PyGui (repository) provides python bindings for ImGui with a lot of addons, and a more pythonesque API, which makes it perhaps more suited for Python only projects.

About the author

Dear ImGui Bundle is developed by Pascal Thomet. I am reachable on my Github page. I sometimes blog. There is a playlist related to ImGui Bundle on YouTube.

I have a past in computer vision, and a lot of experience in the trenches between development and research teams; and I found ImGui to be a nice way to reduce the delay between a research prototype and its use in production code.

I also have an inclination for self documenting code, and the doc you are reading was a way to explore new ways to document projects.

How is Dear ImGui Bundle developed

The development of the initial version of Dear ImGui Bundle took about one year at full time.

The bindings are auto-generated thanks to an advanced parser, so that they are easy to keep up to date.

Please be tolerant if you find issues! Dear ImGui Bundle is developed for free, under a very permissive license, by one main author (and most of its API comes from external libraries).

If you need consulting about this library or about the bindings generator in the context of a commercial project, please contact me by email.

Contributions are welcome!

History

Three of my past projects gave me the idea to develop this library.

  • ImGui Manual, an interactive manual for Dear ImGui, which I developed in June 2020

  • implot demo which I developed in 2020.

  • imgui_datascience, a python package I developed in 2018 for image analysis and debugging. Its successor is immvision.

Developments for Dear ImGui Bundle and its related automatic binding generator began in january 2022.

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-1.92.3.tar.gz (39.9 MB view details)

Uploaded Source

Built Distributions

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

imgui_bundle-1.92.3-cp313-cp313-win_amd64.whl (34.8 MB view details)

Uploaded CPython 3.13Windows x86-64

imgui_bundle-1.92.3-cp313-cp313-musllinux_1_2_x86_64.whl (24.3 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

imgui_bundle-1.92.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

imgui_bundle-1.92.3-cp313-cp313-macosx_14_0_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

imgui_bundle-1.92.3-cp313-cp313-macosx_14_0_arm64.whl (12.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

imgui_bundle-1.92.3-cp312-cp312-win_amd64.whl (34.8 MB view details)

Uploaded CPython 3.12Windows x86-64

imgui_bundle-1.92.3-cp312-cp312-musllinux_1_2_x86_64.whl (24.3 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

imgui_bundle-1.92.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

imgui_bundle-1.92.3-cp312-cp312-macosx_14_0_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

imgui_bundle-1.92.3-cp312-cp312-macosx_14_0_arm64.whl (12.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

imgui_bundle-1.92.3-cp311-cp311-win_amd64.whl (34.9 MB view details)

Uploaded CPython 3.11Windows x86-64

imgui_bundle-1.92.3-cp311-cp311-musllinux_1_2_x86_64.whl (24.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

imgui_bundle-1.92.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (22.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

imgui_bundle-1.92.3-cp311-cp311-macosx_14_0_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

imgui_bundle-1.92.3-cp311-cp311-macosx_14_0_arm64.whl (12.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file imgui_bundle-1.92.3.tar.gz.

File metadata

  • Download URL: imgui_bundle-1.92.3.tar.gz
  • Upload date:
  • Size: 39.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imgui_bundle-1.92.3.tar.gz
Algorithm Hash digest
SHA256 059a7611808454803a41488e5ac97287d02119b93784221b07fb64f8b89d74fb
MD5 d9c9ec45064bc99809dca349daa6b820
BLAKE2b-256 a23e280dba9d0f05f4a6b5ce1c29ef3c7c50e4427bf902641da95a76f81d0c5a

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 81bb47cfb6055bed389929b6b1e532ebf17071d16bce2e17e814fcd239cb0421
MD5 fd5b63c2a6dba4199694180f9bfe529d
BLAKE2b-256 888c53bc69747d84ef4281958e380e0dcafe3fdc3021391ffc985d564e18b87a

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4aab71ac1ec34f528c32543cdd1c160ea655a0b94006ce0af1238ef181677487
MD5 2651cc6a2f05ed19558fc47dfacf2ab2
BLAKE2b-256 6c919874ab40901fe5592a8bbd2bb05c6f7b64a346d203b3a426c03d2284c0be

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25a4cf8cbfd4d6fe022ef0a5ba25dd2136a43db8f0178ae0abc963ad55e7e4e1
MD5 a61561b0db98c5103931cd56d8a36eb2
BLAKE2b-256 52dd02df3c4a2c1d2a9606e7b959b5ec9f7187c8c6a5f9ee92e59a8f2d7efb44

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp313-cp313-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 00b869f5de403042ed68fe67c603d63f6a6b1150dd1b8b2ad513aac8b132ffc4
MD5 8f7e915277a02f67e1d8d113d8971578
BLAKE2b-256 16d2e9dcd5cd94bd6420cf336a1ee97c9808b832adae43ab47a93479866e2f1a

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b56c2aeb4c4e71f379a776f9f5bab39112458664b4e5da826ea50da8756d98e5
MD5 d928316c3c3626df34a37d90321215ad
BLAKE2b-256 31e7b1872941d720d5ffc447c1d30617010e62b139c803601c92a89d0390e263

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d2b694f8d85940fdaa7d6694bf6f02fa355cf3ddf54c02275594753441d4ea2a
MD5 9e89bc5ac1d45a6656c4349609bf8a94
BLAKE2b-256 0b50a9a7ef63b3efa2290ea9d9ea632a16e91f55360d9cb0501bf868f4250e92

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8d1fda78adfee258a9692375579c0ffe639e993e2df81c4aa411635432067887
MD5 ecf10fe2f8c892b935830bf090c2e9a2
BLAKE2b-256 369d99e6265fac82460339899fd60b1c2983f06a0d109dab36487394e93f1ea8

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 efdb0f9dbf3ee3ea4aeddbe7ab885bc44cffe7eb6b0946e5d047550b6a2dca12
MD5 7427b32c41d3866ab4c211d5c696bf73
BLAKE2b-256 a40050ba46960dfab3c6fa683be3014137e8d3b8f25ff4671a9d196db7f65b3b

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp312-cp312-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 56f0d692ad410ddd06461b9a7595584c10f1338963cd6479636942ae84b076a9
MD5 fed05de4fa0186273a52b444b66a5314
BLAKE2b-256 6300fe9ee2da15c52583128eae69a99db8a2fa27f998cd3afc45d0725761a6a5

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 37a46f1e3c8c317898a670eabb457c9e0662ebca0135f7e7d29dcbe47e6003e4
MD5 8bd262c51bb8c452b9ee40a293616459
BLAKE2b-256 bc483a14d2858223f6a0df8375cf5231defbd7557fcb483f0d774b9520fe1bae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 34e97f29eaeb0cfb4c07b65ae398de9940e0c0d917041cc1fba55ba4d92deecc
MD5 7ed5210fb442196c96c3a51d7c45e6b1
BLAKE2b-256 f722106e13adbb82cb88cf48f4ca266fdd5a1306ed198daa02b360a7d2e55909

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 61cf626e76318c02d212fbacdac787e5eec8652cbc4d74bc251f2e1eead1c7f8
MD5 a3829c94e7ef1653b40ae78979e822df
BLAKE2b-256 cb573d149d436ddd49c4dd2ef3a6c2b88a1bfc246a5f5ed23927e661d0de4e81

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74fcf2cbfa56ea189929d2a4edd0b46f3f7e67aa6aafea6bd1d5ab2c8d3274c6
MD5 ee3aa3fbf94aeb46e39b8058ef52b391
BLAKE2b-256 27791f0adda4846774f49eb84cf55fdfb0fc3c0c4166513c173505c1aa85d5e8

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 e9ca45dfb4a80aeb61d25bab216f8eac5a29444b917f4da42c289018c1b433ba
MD5 0a33bb1edf41ca852b943a94d460db83
BLAKE2b-256 a9d7f72364c77f1875648dd254ee23312ff091139b70a0e7a19cabe83c3d39f3

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.92.3-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.92.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aa9b27edae93d12216e57d2ea14959e294eb33611816bb0fbfa19b4018a6e870
MD5 be2ae01099cb896213891c953b68233f
BLAKE2b-256 d7ab38c7a5aa49ee30917bd79eb0c50a57f5c649648a7d7a577d979aa79aff93

See more details on using hashes here.

Release history Release notifications | RSS feed

1.92.900

30 files

1.92.801

30 files

1.92.700

29 files

1.92.601

29 files

1.92.600

25 files

1.92.5

21 files

1.92.4

16 files

This release

1.92.3 This release

16 files

1.92.0

16 files

1.6.3

16 files

1.6.2

16 files

1.6.1

16 files

1.6.0

16 files

1.5.2

19 files

1.3.0

16 files

1.2.1

16 files

1.1.0

16 files

1.0.0

21 files

0.9.0

21 files

0.8.8

16 files

0.8.7

16 files

0.8.5

16 files

0.8.3

16 files

0.8.2

13 files

0.8.1

16 files

0.7.2

16 files

0.7.1

13 files

0.6.6

36 files

0.5.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page