# pyimgui/pyimgui

Cython-based Python bindings for dear imgui

Repository: https://github.com/pyimgui/pyimgui
Canonical: https://ross.abutalabs.com/products/pyimgui
Homepage: https://pyimgui.readthedocs.io
Language: Cython
License: BSD-3-Clause
License Family: permissive
Topics: dear-imgui, python-bindings, cython, opengl, gamedev, python
Last push: 2025-03-23T08:15:38+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 12, release rhythm 8, longevity 100
- inputs: {"age_days": 3623, "days_push": 528, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1543, forks 189 (observed 2026-08-28T04:05:01.209909+00:00)

## What it is
pyimgui provides Cython-based Python bindings for the Dear ImGui C++ immediate mode GUI library, covering most core widgets and integrating with backends like pygame, GLFW3, SDL2, cocos2d, and pyglet. It is based on Dear ImGui 1.82 and distributed as prebuilt wheels via PyPI.

## Use cases
- build immediate mode GUIs in Python
- add debug tooling overlays to a Python game
- create quick in-game developer menus with pygame or GLFW
- prototype desktop UI tools in Python
- render ImGui interfaces on top of SDL2 or pyglet apps

## When to choose
- you want Dear ImGui bindings for Python with prebuilt wheels
- you use pygame, GLFW, SDL2, cocos2d, or pyglet as a rendering backend
- you need a lightweight immediate mode UI for gamedev or tooling

## When to avoid
- you need the latest Dear ImGui features like docking or new widgets
- you want autogenerated bindings that track upstream ImGui releases
- you need complex widgets such as plots

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, graphics
- domain: developer-tools, cross-platform
- platform: python, cross-platform, windows
- tags: dear-imgui, immediate-mode-gui, cython, python-bindings, opengl, gamedev, game-development, linux, macos

## Member repositories
- pyimgui/pyimgui (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.209909+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:41.976129+00:00, confidence not recorded.
  - readme: https://github.com/pyimgui/pyimgui (fetched 2026-08-28T04:05:01.209909+00:00, sha 81d645245ff7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
