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.92.0.tar.gz (39.0 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.0-cp313-cp313-win_amd64.whl (34.8 MB view details)

Uploaded CPython 3.13Windows x86-64

imgui_bundle-1.92.0-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.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

imgui_bundle-1.92.0-cp313-cp313-macosx_14_0_x86_64.whl (13.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

imgui_bundle-1.92.0-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.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

imgui_bundle-1.92.0-cp312-cp312-macosx_14_0_x86_64.whl (13.8 MB view details)

Uploaded CPython 3.12macOS 14.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

imgui_bundle-1.92.0-cp311-cp311-win_amd64.whl (34.8 MB view details)

Uploaded CPython 3.11Windows x86-64

imgui_bundle-1.92.0-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.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (22.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

imgui_bundle-1.92.0-cp311-cp311-macosx_14_0_x86_64.whl (13.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

imgui_bundle-1.92.0-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.0.tar.gz.

File metadata

  • Download URL: imgui_bundle-1.92.0.tar.gz
  • Upload date:
  • Size: 39.0 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.92.0.tar.gz
Algorithm Hash digest
SHA256 299c56247eda2ad1f685885f9b8d00133c2a8b3792792974816a20fa1e6d2a3e
MD5 64930818dc28a259939a4795ea178c9a
BLAKE2b-256 9151ef88b7414ee492c0a3dbd02ce897e121d469d8c1954b11046bea26df28dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 23d36b680bdd26f582149736fd98236d526f4c638b92c2c5d466428dfc668261
MD5 bb3f34799a65297bbad8d9622edc91af
BLAKE2b-256 4cf1e4f9424c19c9155459c8fd7dce2facd3fe5a0eb77129bc357e3c04597bb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7faeb5fe0f07255a944b4125a9ce6cb2a3ba1bb73d27272433b18b6c1c962766
MD5 9e3ca6eb3f76773fcb6d82a4111c71a1
BLAKE2b-256 30691435ede6c37de20b405b46b737a01c2adf5f232be3881e6501a90ad18d4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59e1a2e86367f2658874acefa466f50f52316d15d0ec87419a7258de87f7df7d
MD5 b6ea79b9d58aff1d9a70ecfc2046e998
BLAKE2b-256 daadaf4d639adb3d107acdd7b4a4b871d10e8bc1814c7f47b07d2fe779c687d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp313-cp313-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 fd3e61f23621cc87d20d2a5fee101cd9799ccb2fe98466fa77c8a6d2ca5701ef
MD5 0a0c439b82555bc2693f7a8cb8577ede
BLAKE2b-256 5c6c197a85878e4713228fbdefac610133af40ae9e4a883a6cad6085b5342d13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c929737073dbbeba0b993d25c8060653079422ebf2a6a2f38854745bc028a9ab
MD5 3ac25cf24871c6fb028b3ce6b04b6585
BLAKE2b-256 b3185a5081b2c3c51c1132b7cfd0182d808926ef3b4e83163c050391a54d66bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 11a7b7cab9318c7971cadb00b4a275d1896a2aa9c8bcfc3803f7e8a0e19b4fa1
MD5 bde180b83275ba66a45c678e81bfda29
BLAKE2b-256 ef3889b6495024f71552188f41efae5c04fae1b21b019e3d05e1c6953989d8af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 330eba4b279dfcec63f6d961777306c85ea7af0c0f900404f1d198654a443bfe
MD5 a406ac7276bf48c87c1a8540b93d2420
BLAKE2b-256 1c2f6433e8f4738923ead877d4c2cb68ef9a11d8c8de448a06c5dcf90cb68231

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b62657982397af6d3f439f913e07fae88a1ae19a8bbb3bd359c83beb10eed97
MD5 6c9670a6f2ae537da221172968a0f4a6
BLAKE2b-256 61944090c52236beadd6ebb23cae9b505f47a5eb736de5180b7885be2ff227d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp312-cp312-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 cd4c0f23778736bfe4a2792724cbcb30d25609353a5e3ff2e19ace9769a288cf
MD5 96dc84929e111e2b118cdb639ec4907b
BLAKE2b-256 3d528e190331ce4f191ef0992129aafd9b8d9bb501db67bb67dcad19f5812ea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f844ee63dc1707d338417bfcb48768d1a278c32f44572b69f2baa0aeb601e9ca
MD5 27da503b528984e8d92c07f9d9fc28fd
BLAKE2b-256 6c40ebf2bc6d25cae3eb0a34abc7ab85a2a8df10619c26a255fd426b03a03fa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a4a59793efbee5864fc53928294691d4ea69df6637882b83eda1d4508d03ff04
MD5 22fd51d1b0f9a78a628af754a8af16e5
BLAKE2b-256 30ef5cc896dc1b4c731960a7f594530cd12c37e6184719bab4d6aac9ae68c987

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6484fba8ee22c1997dfaf6bf54f419f76ac169fa1fa29aa759e128082e25844f
MD5 8313813fd856ba04d79d0cbca53a4fba
BLAKE2b-256 71a87cccdeb1003688b07183cb6251316d8eb0e992dbe45fa9198c0f6bf5a98b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e219e27ba6a4ad2e0dd10c4dbc455b8a47c02a573eba16b006febe82ec33eb1
MD5 e79d950a9b3d20f854734009d332f904
BLAKE2b-256 1c401d7bcb0201435ed4206e591b50e37ba473973e0709d8cd5cd4355084008f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 e4abce8e8ad8e8fd232c2b1b80f1e814d3458bbf2a1ab6f312083ca11373198e
MD5 e167dd682267c6c7e79a29837a7ea3d2
BLAKE2b-256 8a698e7166ab2eb19a189e09094a1d32fa1253a1e18a3bc77db90b57a8048d54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imgui_bundle-1.92.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cd54a6aef95b08fdbcae21eb0d4b42bf4979f10801db7f3118c30a76e3b1fe47
MD5 bdd02cc6a802156ca40effd8351885f9
BLAKE2b-256 e2e89b4ab7d04cb2ea41f9917ff692d5ae896395dc865d67bb52753c65e22073

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

This release

1.92.0 This release

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