{"id":13630199,"url":"https://github.com/pyimgui/pyimgui","last_synced_at":"2025-07-06T07:01:53.651Z","repository":{"id":37317237,"uuid":"69750363","full_name":"pyimgui/pyimgui","owner":"pyimgui","description":"Cython-based Python bindings for dear imgui","archived":false,"fork":false,"pushed_at":"2025-03-23T08:15:38.000Z","size":1603,"stargazers_count":1450,"open_issues_count":117,"forks_count":186,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-07-04T23:03:41.915Z","etag":null,"topics":["cython","dear-imgui","gamedev","opengl","python","python-bindings"],"latest_commit_sha":null,"homepage":"https://pyimgui.readthedocs.io","language":"Cython","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyimgui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-10-01T16:42:24.000Z","updated_at":"2025-07-03T10:00:43.000Z","dependencies_parsed_at":"2024-03-08T16:46:38.246Z","dependency_job_id":null,"html_url":"https://github.com/pyimgui/pyimgui","commit_stats":{"total_commits":516,"total_committers":39,"mean_commits":13.23076923076923,"dds":0.687984496124031,"last_synced_commit":"74c359702542c4319f4541bab6825597991e980a"},"previous_names":["swistakm/pyimgui"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/pyimgui/pyimgui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyimgui%2Fpyimgui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyimgui%2Fpyimgui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyimgui%2Fpyimgui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyimgui%2Fpyimgui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyimgui","download_url":"https://codeload.github.com/pyimgui/pyimgui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyimgui%2Fpyimgui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263641722,"owners_count":23493437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cython","dear-imgui","gamedev","opengl","python","python-bindings"],"created_at":"2024-08-01T22:01:33.437Z","updated_at":"2025-07-06T07:01:53.625Z","avatar_url":"https://github.com/pyimgui.png","language":"Cython","readme":"[![completion](https://img.shields.io/badge/completion-72%25%20%28536%20of%20735%29-blue.svg)](https://github.com/pyimgui/pyimgui)\n[![Documentation Status](https://readthedocs.org/projects/pyimgui/badge/?version=latest)](https://pyimgui.readthedocs.io/en/latest/?badge=latest)\n[![Build status](https://ci.appveyor.com/api/projects/status/mr97t941p6k4c261/branch/master?svg=true)](https://ci.appveyor.com/project/KinoxKlark/pyimgui/branch/master)\n\n# pyimgui\n\nPython bindings for the amazing\n[dear imgui](https://github.com/ocornut/imgui) C++ library - a Bloat-free\nImmediate Mode Graphical User Interface.\n\nDocumentation: [pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/)\n\n\u003e **Notes for contributions:**\n\u003e - We have a [`fixes`](https://github.com/pyimgui/pyimgui/tree/fixes) branch\n\u003e - Please, read the last section of this file\n\n# Installation\n\n**pyimgui** is available on PyPI so you can easily install it with `pip`:\n \n    pip install imgui[full]\n\nAbove command will install `imgui` package with additional dependencies for all\nbuilt-in rendering backend integrations (pygame, cocos2d, etc.). If you don't\nwant to install all additional dependencies you can always use bare\n`pip install imgui` command or select a specific set of extra requirements:\n\n* for pygame backend use `pip install imgui[pygame]`\n* for GLFW3 backend use `pip install imgui[glfw]`\n* for SDL2 backend use `pip install imgui[sdl2]`\n* for Cocos2d backend use `pip install imgui[cocos2d]`\n* for pyglet backend use `pip install imgui[pyglet]`\n\nPackage is distributed in form of *built wheels* so it does not require\ncompilation on most operating systems. For more details about compatibility\nwith diffferent OSes and Python versions see the *Project ditribution*\nsection of this documentation page.\n\n\n# Project status\n\nThe Python `imgui` package supports most core Dear ImGui widgets and functionalities. It is based on Dear ImGui version 1.82 (released on March 15, 2021). Some lower-level API elements and complex widgets (such as plots) are not fully integrated.\n\nWork was initiated to add support for the [Docking](https://github.com/ocornut/imgui/wiki/Docking) branch of ImGui (see related [issue](https://github.com/pyimgui/pyimgui/issues/259) and [branch](https://github.com/pyimgui/pyimgui/tree/docking)). However, maintaining pace with ImGui’s latest updates has proven challenging, as these bindings are written manually.\n\npyimgui remains a solid choice for building immediate mode UIs. However, for those who require the latest Dear ImGui features (like docking or new widgets), alternative bindings may provide more up-to-date support.\n\n#### Autogenerated bindings: \nThese bindings ensure closer alignment with the latest ImGui features without the manual overhead.\n\n\n- **[Dear ImGui Bundle](https://pthom.github.io/imgui_bundle/)** ([Online Demo](https://traineq.org/ImGuiBundle/emscripten/bin/demo_imgui_bundle.html)):  \n  A comprehensive collection of ready-to-use widgets and libraries, including ImGui, ImPlot, ImGuizmo, ImGui Node Editor, and more. It offers autogenerated Python bindings closely following the ImGui API (as well as pyimgui's API). These bindings are kept more up-to-date, currently based on Dear ImGui v1.90.9 (as of September 2024).\n\n- **[deargui](https://github.com/cammm/deargui)**:  \n  Another set of autogenerated bindings. However, the project has not been updated since 2018.\n\n#### Other alternatives:\n- **[Dear PyGui](https://github.com/hoffstadt/DearPyGui)**:  \n  A widely-used set of bindings that include Dear ImGui, ImPlot, and imnode. However, it exhibits a retained mode API,\n  unlike the immediate mode API of Dear ImGui and pyimgui. The bindings are based on Dear ImGui v1.83, however, the project is actively maintained.\n\n  Note: Future versions may move away from Dear ImGui altogether (see [What's going on?](https://github.com/hoffstadt/DearPyGui/wiki/What's-going-on%3F)).\n  \n\n- **[dear_bindings](https://github.com/dearimgui/dear_bindings)**:  \n    A tool that generates metadata from Dear ImGui’s header, useful for developers looking to create bindings for languages for Python and other languages.\n\n- **[slimgui](https://nurpax.github.io/slimgui/)**:  \n    A modern set of Python bindings for Dear ImGui, designed with IDE-friendliness and Pythonic clarity in mind. `slimgui` closely follows the Dear ImGui API, while adapting idioms where appropriate without introducing new API concepts. It includes `.pyi` type hinting files to provide auto-completion, inline documentation, and type checking in modern Python editors. The current backend integration is built with `glfw` and `pyOpenGL`, but the architecture allows for other backends like SDL or Pygame to be added. The project is actively maintained and hosted at [github.com/nurpax/slimgui](https://github.com/nurpax/slimgui).\n\n\n# Project distribution\n\nThis project has a working build pipeline on Appveyor. It builds\nsuccesfully for all major operating systems with different architectures:\n\n* Windows (32bit \u0026 64bit)\n* Linux (32bit \u0026 64bit)\n* OS X (universal build)\n\nRight now we are ready shipping the built wheels for these three systems\n(even for Linux using `manylinux1` wheels). The build pipeline covers multiple\nPython versions:\n\n* py36\n* py37, pp37\n* py38, pp38\n* py39, pp39\n* py310\n* py311\n\n__Note:__ We dropped support for py27, py33, py34, and py35 starting from release 2.0. \nThose were supported until release [1.4.0](https://github.com/pyimgui/pyimgui/releases/tag/1.4.0). \nPypy is only supported since release 2.0.\n\nIf none of these wheels work in your environment you can install the `imgui`\npackage by compiling it directly from sdist distribution using one of following\ncommands:\n\n    # will install Cython as extra dependency and compile from Cython sources\n    pip install imgui[Cython] --no-binary imgui\n\n    # will compile from pre-generated C++ sources\n    pip install imgui --no-binary imgui\n\n**pyimgui** provides documentation with multiple visual examples.\nThanks to custom Sphinx extensions, we are able to render GUI examples off-screen directly from docstring \nsnippets. These examples work also as automated functional tests. Documentation is hosted on\n[pyimgui.readthedocs.io](https://pyimgui.readthedocs.io/en/latest/index.html).\n\n# Contributing\nContributions are welcomed. If you want to help us by fixing bugs, mapping functions, or adding new features, \nplease feel free to do so and propose a pull request.\n\nDevelopment tips and information for developers are given in [HACKING.md](https://github.com/pyimgui/pyimgui/blob/master/HACKING.md).\n\n","funding_links":[],"categories":["Cython"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyimgui%2Fpyimgui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyimgui%2Fpyimgui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyimgui%2Fpyimgui/lists"}