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.

Introduction for Python Developers

If you are new to ImGui Bundle, and working with Python, here is a beginner-friendly introduction with practical examples, which should get you started in no time:

Immediate Mode GUI with Python and Dear ImGui Bundle

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.

Full manual (PDF)

View or download the full pdf for this manual.

You may feed it into a LLM such as ChatGPT, so that it can help you when using ImGui bundle.

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.4.tar.gz (40.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.4-cp313-cp313-win_amd64.whl (34.9 MB view details)

Uploaded CPython 3.13Windows x86-64

imgui_bundle-1.92.4-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.4-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.4-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.4-cp313-cp313-macosx_14_0_arm64.whl (12.5 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

imgui_bundle-1.92.4-cp312-cp312-win_amd64.whl (34.9 MB view details)

Uploaded CPython 3.12Windows x86-64

imgui_bundle-1.92.4-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.4-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.4-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.4-cp312-cp312-macosx_14_0_arm64.whl (12.5 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

imgui_bundle-1.92.4-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.4-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.4-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.4-cp311-cp311-macosx_14_0_arm64.whl (12.5 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: imgui_bundle-1.92.4.tar.gz
  • Upload date:
  • Size: 40.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.4.tar.gz
Algorithm Hash digest
SHA256 8a288de43c3ad05b11c2393197e2afdbcb8b504d698ebce8895eee019a510788
MD5 48789425d1fe6c14725688210000ae97
BLAKE2b-256 882fb5e5cd1567cf509235e24dd942b684c1c65d520a3950a524eef6097610c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f186daeab73068d83f02cc4385e2240b51bfee585adebd583ca54cdce33391af
MD5 233008e48e6b96704fc8f6d9e65eacab
BLAKE2b-256 6c2d73ff5d09555711b5d72b780a3e394b6290c1b9d460ce1a24052121d065f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 564bbe557256009ad407bc43353166fbf93cc5ec9ee5a2acc1edc42b9c318581
MD5 87fea556871c3890224b80a2b7af323b
BLAKE2b-256 64a82928c2ff8fdbe9a106144940941fb133e9159952ead446239effacb60173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d909f889386ab5f1f7541ab5aced910b29de3011c13d645bcf8322106221f459
MD5 8fc697f99112739cb75e90d5e03980ec
BLAKE2b-256 bf47478d02cf8352416fb6ee4d608630076830cb83469c2e8023509f3e2caca5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 37c89792cd1d76de70dd68ac3575fa543796ff2a35863d707a6f266f41e1a44c
MD5 f7c289a24f826f83530231315916584f
BLAKE2b-256 a19dcf655075262491abdc7562141a98ae538539f7aa0bf918d991037cd4e145

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1762ce9de336bfd8ade38567d920e0473c93ece0c3527d00b2810b8c85ab7d0a
MD5 e67f083eb419ff293e3431c0217af1a5
BLAKE2b-256 7ba7de9ee63778d825cc5a8b6f4731be326a08bda18b4bda5eb4a24d73e632b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 30d722262060f0d0c4ca45bb85ba8ede1a58a712bd1582441b71c485b95983da
MD5 c6b0f097bc34216f322d4165ea21868d
BLAKE2b-256 962cb250651b747d52d263291e6c1b2aba28f944e58366ebe250a169418e01f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bbd2fd3bf602274210854abd903aabe1b9bb9cdcfbdbb3f90dabb880a0089a0d
MD5 f8812e29df50efb3535ae14c2f447c88
BLAKE2b-256 1f41bebb09a6bbc5e73dc5e58cebaca2c4169163ad163aeaec128938e2d0cc4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cccbd06f4d9e587b24c7d8717dc5772485fcae2205bf4e93b5672a75765276a1
MD5 1498c671574a1510662c65db2ab21e55
BLAKE2b-256 59d8c0d8734fb0e3a4708b850b10fbe828d3fa5bbc510c53ae8553d6191bf98d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 74d401c5449f58dcc2fb318c0bccbc033fd1fb9bfdd5532169132557bf030ba0
MD5 769b48c1dd01c2ac8a6914bffc71f34e
BLAKE2b-256 4c0a59344438236d83062c649849c44d9377a5c70f146cd8908c22375776b6a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 85760c2d6721f6ca383991d8040d7121755c6de353f40a251232a791c42b9029
MD5 c650035d7d1d85df1bee4e60213af4c7
BLAKE2b-256 394da68d447c4eff411356651a8e75d0deaf1d69e0a8736ce26595e2c52d67c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9477c504321d29d9caae7b094428b90eccdbdf424a4c2105c2063d5f949856f5
MD5 ec69fe36377065becd55152f6c081975
BLAKE2b-256 bd425677f87445424cbfff93915c6f8fa3a933d26397153649a71219352677a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 84e99e5bd40e0f5e386a10fbf224730a91aa8c8a59f5b03a9e9e5149675d2ecc
MD5 a03d39b8c18d3a38f009a677f6ee0dcd
BLAKE2b-256 091a11a79b649ccca97f4c5ed890c299f731f45a76eb2244d12727841e57bafb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6fa0a7ca65fa40d65767657bc9bad0cfca96fda03884ce4f69708458bec5b337
MD5 a3587bdb2baafe9039a89c6300debcfb
BLAKE2b-256 9ed41a84f2dd66646935e95da30195d0158f2d97d58d604fd03a89bfe7371610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 3902560a007d36f83bded6d1570a4d2a36c04555f9f9166f103ad19c0f398dfb
MD5 796b7c91497d6541c56a6b1bb3341757
BLAKE2b-256 f4786751128bd4bdcf3ed52779351b7c5dab2940912155abfbc83de926cd79d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 15b0529db790aa675d69f48b77415fa6f7899ed634619b484bf0a3c9ce968277
MD5 c5b991b0443ebc8da3999ba2a8fdaca7
BLAKE2b-256 ed39fe931e977f83682c129ec14075fb6cc000ae9082c7a4242bb097449d86d7

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

This release

1.92.4 This release

16 files

1.92.3

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