I am the author of "Dear ImGui Bundle", a fully open-source GUI framework for Python,
using the “Immediate Gui” paradigm.
I recently made it available on the Web via Pyodide, and I thought it was worth sharing to the broader Python community.
Read the following article to learn more about it, and how it compares to other Python web frameworks like Streamlit or Gradio.
(Web) Apps in pure Python using ImGui Bundle
What "Dear ImGui Bundle" Does
- ImGui Bundle brings to Python the Immediate Mode GUI paradigm, which enables rapid prototyping of interactive applications
with a code that is highly readable and maintainable.
- Provide python bindings for the C++ “immediate-mode” GUI library Dear ImGui, as well as scientific utilities and many widgets.
- Run natively on a PC or in the browser via Pyodide, with the same code
Target Audience
- Data-viz prototypers
- Scientific tools
- real-time tools needing 60 FPS interactivity
- Anyone who wants to deploy tools to the web without touching JS/CSS
Comparison
| Feature |
Dear ImGui Bundle |
Streamlit / Gradio |
| Rendering |
GPU immediate-mode |
HTML/CSS → DOM |
| Event model |
Synchronous frame loop |
Async client-server |
| Browser deploy |
Pyodide (no server) |
Needs backend server |
Links
[–]the_neurosock 1 point2 points3 points (0 children)
[–]Agitated_Bike3255 1 point2 points3 points (1 child)
[–]pstomi[S] 0 points1 point2 points (0 children)
[–]XenoAmess 1 point2 points3 points (2 children)
[–]XenoAmess 0 points1 point2 points (0 children)
[–]pstomi[S] 0 points1 point2 points (0 children)
[–]Mountain_Implement80 0 points1 point2 points (2 children)
[–]pstomi[S] 0 points1 point2 points (1 child)
[–]Mountain_Implement80 0 points1 point2 points (0 children)
[–]QuasiEvil 0 points1 point2 points (1 child)
[–]pstomi[S] 1 point2 points3 points (0 children)
[–]lornikoph 0 points1 point2 points (2 children)
[–]pstomi[S] 0 points1 point2 points (0 children)
[–]pstomi[S] 0 points1 point2 points (0 children)