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.3.tar.gz (38.7 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.3-cp313-cp313-win_amd64.whl (34.6 MB view details)

Uploaded CPython 3.13Windows x86-64

imgui_bundle-1.6.3-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.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

imgui_bundle-1.6.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.6.3-cp313-cp313-macosx_14_0_arm64.whl (12.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

imgui_bundle-1.6.3-cp312-cp312-win_amd64.whl (34.6 MB view details)

Uploaded CPython 3.12Windows x86-64

imgui_bundle-1.6.3-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.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

imgui_bundle-1.6.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.6.3-cp312-cp312-macosx_14_0_arm64.whl (12.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

imgui_bundle-1.6.3-cp311-cp311-win_amd64.whl (34.6 MB view details)

Uploaded CPython 3.11Windows x86-64

imgui_bundle-1.6.3-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.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

imgui_bundle-1.6.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.6.3-cp311-cp311-macosx_14_0_arm64.whl (12.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for imgui_bundle-1.6.3.tar.gz
Algorithm Hash digest
SHA256 0186bc4009c2eb492462ab9e63ad8d6b52c87b4b65d3b45174271e433ee41b95
MD5 8c023d2de82f388d64bdf9c73bbd2a6c
BLAKE2b-256 83650065358a2f2dc23e9b590dfcbb296fee9e1934dc0667ee6fd5fa0b57fc82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 30b25c2ebd349bfeae1bed5bff861998711672b07be5c6e5c67af1ffde1058ff
MD5 1691569bf32a121d74d9fc1e14d8fa53
BLAKE2b-256 4edaa2b98076803a67bf731381f4a485edf690a47d825b3903af6b6c95fa10c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4315992d4bebc216dac122ac7fbcedf3d089f0b0c718916a621a9397bf3faa82
MD5 0a06a5978c6d72b98febc5818a0b43c9
BLAKE2b-256 62b586e6a7022ec1f9935437213032296eb7d5d82d728b0f3d3164234ec2f581

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e09f68951daac86269b284eaa924df8e056de279bfe37cfcf811a481ae9407fc
MD5 1dbaa24fb8df4090e7869fc24bc7216b
BLAKE2b-256 6f72f97e73c6918e741d8e0087f8ecdd34b58f543be6a65c0a904403e4d9a3a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 301c20b5e3c8530d91a18e64d4abb1dbdbb867d1895ea717f7fb781d9586c6cb
MD5 3d352a3c1fe60ecaadd2c3076908a7f0
BLAKE2b-256 c9a4a75034eb8a088d933f20fb4f2bbeeecfe06fb7b1932413eaa8084e40fdf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b5d59e3d1a89c18112fc8d6cdc7ef2be644bb2953c1f8617ae12859bfcb11079
MD5 3572f4da2b179876ba93b0aa248ec241
BLAKE2b-256 2c63b9ee338314d47a1670b1959e9bc2b832ebe88c6a8fe77501b1b39b8c6c00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 452c4803085fffb0f5aaa8770300c33c7681ada09db9a1e2ef05840d93ea088a
MD5 b1617a685f70030123524c8053233b19
BLAKE2b-256 3e73a275ffd1bbac790880aa5d72d46347e7d385006d3d0162c67a376406c5bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 57b735f2fba0d6cf66e5cd95beb0ac057b7942b2f4e0fd53e1f62ad2264ceeaa
MD5 93ca5c2af1aef16d65275cc4108ddaf4
BLAKE2b-256 03f998f7e4b75d4c97513fae51f7762e9b654f84e6d9180b45763c7d0e7e3a01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52fe8e82653f149b55acb2d79b34a9fdd0c3c94ceb5a44cb9b55bbd89a790291
MD5 61233d74ea7d1bfe36f0cfd3763d5f3d
BLAKE2b-256 55d24268c3c7741edbc069556c1b95e0a2072ded9fab527489abcda94be7fdb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 ffc92b35fbb4449e2f8d2f9e07ad0ba309760383169795c930ae7fe81bd273d7
MD5 b2c5363111d1ad693f7062b8ea8ef71c
BLAKE2b-256 32ea322b67607972507286d730dabea7eb76c7e4c1a6ee2cba2eea927541b015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a60164256a3eb60de1b30536127c313728ea5f8619765f26868121fab393a939
MD5 ec6df54132949fdaa6577a53a8f1c8af
BLAKE2b-256 141270585594d22d6d11d17b406020d102f748f36a6eb38d1e23641b217d74bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6160da3f49dbf48297beb380e873882fe8974dfda161f586ff0971a0334d4a3d
MD5 c599889b09c5e70b6ee3b33552766be0
BLAKE2b-256 2f1ddc1be29cf4402ef87307b88bb8c91104dbbf0fe8399803dbdbe9c2394a1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6cb2289de6091c9ed545e18cab1d1634bc22abdff41cff6429aaa110d89340e7
MD5 e79d421266c5759688e6c98248ab93af
BLAKE2b-256 363dfa910ce8868fd133f3c535712b50821ecf7c0daf546e90a914a6445237fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32ae385fb20769973015823adb8b239f4aa7e1597d636a60890a2016923a5d96
MD5 1b3a177023e07ef842f59a06df52d6eb
BLAKE2b-256 6b60305398e54e7ab150e9445e9d36d046295315eaa48f16c7f698895e34755d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 bd77d3ffbfe3c43d8e77eebe924c9d973a58739c55cfd80657c35ff90970f5ce
MD5 fc51740a00e596b5e6a70a8916f43414
BLAKE2b-256 c0b3fb6343e12369ccdadc9eb03a6b0b4e89471d734e3e4d2900d6fcbdd5c1e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.6.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 60348397217d68551537441823f6e168ccab698fa37acfea456b253c32186ca4
MD5 7bb6e241fa997659fb24d83ed7ffe7df
BLAKE2b-256 4730e0c726c7e433b6dc52a6dce28dc8c6e4fa74671450276552a92567bc43f1

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

This release

1.6.3 This release

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