Eel
DearPyGui
Our great sponsors
Eel | DearPyGui | |
---|---|---|
47 | 257 | |
6,175 | 12,266 | |
1.6% | - | |
0.0 | 7.6 | |
22 days ago | 5 days ago | |
Python | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Eel
-
Augmenting the Markdown Language for Great Python Graphical Interfaces
I gave up a long time ago attempting to write GUIs in pure python. I've come back to them periodically to see if the landscape has changed, but I'm always disappointed.
My current go-to python GUI solution is to use the Eel library. It renders GUIs in a web-browser like window with HTMl/CSS/JS.It lets you expose your python functions to JavaScript, so data can be easily transferred back and forth between the python and the JavaScript. And since it's just web-dev, it's pretty easy to make things look and feel good enough. Any other web-dev libraries like bootstrap and jquery can be used. It works pretty well for writing GUIs that put data analysis tools in front of my colleagues.
https://github.com/python-eel/Eel
- Ask HN: Cool Useful GitHub Repos?
- Working with GUI
-
YouTube Downloader
Eel was used to implement the app and communication with the web interface.
-
Need to access the variable from an asynchronous function
I am calling a function from Python using eel and taking the return value. Python functions are asynchronous with JavaScript by nature. This code is combined with other variables to determine if the form can continue. allFilled() is called everytime the form field changes.
-
TIL: Eel is amazing for making quick and visually rich UIs!
In the past, I've used QT4 and QT Designer. It was okay. It was a small mountain to climb for myself then - but certainly doable. However, there was a lot of generated code that wasn't the most concise thing. Today, I discovered Eel. Since I used QT4 in the past, I've done some web dev. Certainly, not proficient there. But Eel wasn't as big of a hurdle. In fact, it took me a fraction of the time because it is much like creating a basic website. Where there's an abundance of tutorials and tips out there for everything imaginable. Instead of downloading and adding a font, clicking through a bunch of dialogs. I just linked a Google font and updated the CSS. Stuff like that.
-
Could someone suggest a development environment and/or tools I could use? I'm looking for an environment similar to a browser. I plan on using Python to display the results of many calculations that would change, maybe every second or half second. With lots of variables involved. More details below.
If you don't want a web-app, you can still use JS for GUI, using something like python-eel https://github.com/python-eel/Eel
- HELP! Python project requires a GUI.
- Does my project need Flask?
- How does one make their own GUI from scratch? (no GUI libraries)
DearPyGui
-
PysimpleGUI
For native GUI, DearPyGui[0] as modern as you can.
For browser web-based GUI, you can use nicegui[1]
[0] -- https://github.com/hoffstadt/DearPyGui
[1] -- https://github.com/zauberzeug/nicegui
-
Need help with text alignment
If it's just to align text in the centre or to the right of a box, you could use a button and, by using theming, hide the fact that it's a button. https://github.com/hoffstadt/DearPyGui/issues/1111
-
Which GUI module is better in Python? tkinter or PyQt or kivy?
Personally, i like PyQt or PySide they have basically everything you need to make a proper app or even simple apps, but there is another DearPyGui this is basically python version of imgui the c++ library, it provides some good customization options and can be used for simple or complex projects too, their discord is also very helpful.
-
Dynamic plot
There are some examples in the showcase as well. https://github.com/hoffstadt/DearPyGui/wiki/Dear-PyGui-Showcase
- Segfault when running on MacOS when refreshing static textures
-
What to look for in a GUI?
I'm a big fan of DearPyGUI
-
Centering text in window/
Use a button and set width of the button equal to the width of the window. Using theming to set the button text alignment to center. A comparable solution, for aligning to the right, can be found here. https://github.com/hoffstadt/DearPyGui/issues/1111
-
What tools are available to begin building a GUI for python?
I was using PyQt5/PySide which will give you a nice native look but I eventually shifted over to DearPyGui for most of my smaller utilities. Its just faster for me. You will get more options and freedom with PyQt/PySide though and can use QT Designer to design your interfaces pretty easily.
- How to play video file with audio with DearPyGUI (Python)?
- Is it possible to animate a Node Editor window?
What are some alternatives?
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
PySimpleGUI - Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
cefpython - Python bindings for the Chromium Embedded Framework (CEF)
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
pywebview - Build GUI for your Python program with JavaScript, HTML, and CSS
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Neutron - Create modern cross-platform apps in Python using HTML and CSS
imnodes - A small, dependency-free node editor for dear imgui
streamlit - Streamlit — A faster way to build and share data apps.
PyOxidizer - A modern Python application packaging and distribution tool