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

  • 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.

  • 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!

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

  • 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.

  • 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.

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!");   });  }

Interactive Manual

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

Demo
Dear ImGui Bundle interactive manual

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.6.2.tar.gz (35.4 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.6.2-cp313-cp313-win_amd64.whl (35.9 MB view details)

Uploaded CPython 3.13Windows x86-64

imgui_bundle-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

imgui_bundle-1.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

imgui_bundle-1.6.2-cp313-cp313-macosx_14_0_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

imgui_bundle-1.6.2-cp313-cp313-macosx_14_0_arm64.whl (13.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

imgui_bundle-1.6.2-cp312-cp312-win_amd64.whl (35.9 MB view details)

Uploaded CPython 3.12Windows x86-64

imgui_bundle-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

imgui_bundle-1.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

imgui_bundle-1.6.2-cp312-cp312-macosx_14_0_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

imgui_bundle-1.6.2-cp312-cp312-macosx_14_0_arm64.whl (13.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

imgui_bundle-1.6.2-cp311-cp311-win_amd64.whl (35.9 MB view details)

Uploaded CPython 3.11Windows x86-64

imgui_bundle-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

imgui_bundle-1.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

imgui_bundle-1.6.2-cp311-cp311-macosx_14_0_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

imgui_bundle-1.6.2-cp311-cp311-macosx_14_0_arm64.whl (13.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: imgui_bundle-1.6.2.tar.gz
  • Upload date:
  • Size: 35.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for imgui_bundle-1.6.2.tar.gz
Algorithm Hash digest
SHA256 17b2019a0d4ebb66bc29b234c086ea5a3cccc7c0c540517fe569d84372316970
MD5 9c643172348b6d9c917304e6d57ed238
BLAKE2b-256 3499b448b548cd7162516215bb74d5ca84ca85c800859c2d4e1df0acb4adff2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4bf9c0afb85dfdb9ca49e63d388a2a6e5b8935a5d9552fe7c51b3969caa5d4f8
MD5 c9b84c9da25fc7233c9a8d72dd910826
BLAKE2b-256 73627b413c5c24f34c27c0e4f033e088c1a977d0020ebe0005dec92fa1633eee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c76d14d2a270ff8b5de55aa8fafc255402570ebe6f3cbe0a6fd030c26f48b217
MD5 1dce2d0f8bc7571143aa3649cad0c6c9
BLAKE2b-256 09acce71d687fd00342bcc7f1c0960e42f31e17b772ff68afec1cf1a9944f376

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3316e7227d25a1618205db478a7c8258a6f667f9e6a532e6a1075e26c33ded1e
MD5 629eac7b113026f0bfbbfd4c19314c01
BLAKE2b-256 5a243c4c39fca1660d311a1e5cdc12294bb6eb660eb821ddfed8f70beee71f0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 2a26dd3475271caf0ea5ca800bde95c9bc4cc889739869d9c6c0335c11d579e4
MD5 f0bf4d5da78d562b884cbd8156f9fc98
BLAKE2b-256 53d787bf35d8856c382b49b641312995f0e0a3134853d2b58954a89cd916dea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f2e4494339209a8417d745658b4d36efe03949536a2b02492a03b2eb8f187850
MD5 4950bd8a9b2f1fbf9df88f2256db4c26
BLAKE2b-256 1b99a5e31449fabb296de05a4031b0d99ac73a8ca518e2f092920a0143c4db0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 add71c6733b6785e48bb059472e10e49d7ef56108fac7eb2bf05692cc6040b73
MD5 bdf283ef79b5041ced6a8307b5fed647
BLAKE2b-256 ec90404a3df0fe6e833f65cdb2d321f96e56cfda360b845298df7bfbca9d6f8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 40a4f4d1a89b1e5b421077cbdde3f217b0b24468875c930625c9f5749421617f
MD5 7b64a704864133966db566b2fbb039a0
BLAKE2b-256 f785c2e4fbbadd7a4ec8fe491761a15bcd4f0d9c34baed7f154cfda213e4e237

See more details on using hashes here.

File details

Details for the file imgui_bundle-1.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5152504650622110559d5039fa60b09da91a5b7f8bcd4065fdf7f053b1967ad7
MD5 78aa62cda748cccc8d6c896903a646d8
BLAKE2b-256 e76d12c951f7d8eafebbacc3f4f69fe1659cbef5f438d4e9f4d327fe7a2ebdf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 1ec8db8526eb6ad7dfe77c38ea4a19d5beaef2f79a0b080515929df77ac0c5fc
MD5 4e8ff2bb95d9389bd3b93fbd42d3192a
BLAKE2b-256 c19ce434ffb35da32c3b235475eda2aad0fc27d6ad4dfbaf45f7edf241c155a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 486e8408d4b0e3c2c8ef1814ddfde0aa87d25e6f8a650b7ccda672a2e1b47062
MD5 9811bc88ec20f76464c573b40e055592
BLAKE2b-256 a99367186150aefc129cdd1f5dd92d437afa96e284e709377e711995e2c952b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e6ba109dbc788a217d283cb7159391f40f6efacd79d8d1a4fa61962220573fbc
MD5 fa7b7c995a2f538adf330c3274246102
BLAKE2b-256 65d3985cd35d5786f312e7c246e0b48c33cfc400e3b57fccfe1c6e7cc2f68edb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3baefbb7374909541900dec15d4630f06e4f1413c3e6560ec619e210a0f5d101
MD5 c80b6e6b06c229fd7d3f36573e279ae0
BLAKE2b-256 19783155e48d35e892734ed3cc1df17ef5fd95077bf75a01c6256cd5df069495

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 80e96d31e1ce56df6de1120c0f0764ab54e6af1efd1752499133cba7e879b1e9
MD5 d4fc22986ebd7776c496ff21bf0aa0ae
BLAKE2b-256 ca64290c08415d4948c87a7d183b72e82b8de167151a3bb40253583ff8cc5548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 519194a5b4fd3c1748bcf5b9afb6575b883e68c87947ee1332f4fa27fbcfcd14
MD5 f1c71fd8e883c7f08bcd225b30742b26
BLAKE2b-256 02765115d550c09ac350096440d55e69826e4dc08e42c13c14bcbc2537ef935d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dbf2a82baf6d8ab4787ed531baa339c2c3f8f76f2c70f3c764f8f3c3e6ed2097
MD5 99cd844f1c94ac80fe50aed8a8a9bd94
BLAKE2b-256 6e05a96b72ce8fab391b94cf876e20c1c3c01f73d622e20f48a2ed344622566a

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

1.92.3

16 files

1.92.0

16 files

1.6.3

16 files

This release

1.6.2 This release

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