Neel
Eel
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.
Neel
-
Is Nim right for me?
I made the Nim equivalent to Python's Eel library called Neel. There are other GUI libraries out there but this is about as simple as it gets. It's only dependency is having chrome installed on your machine. Write your frontend in javascript (or just use Nim and compile to javascript) and backend in Nim. The executables are fast and extremely tiny. It'll embed your assets into the binary too so no dependency/linking BS. If you're on Mac, you can package it into an App too rather than just the executable. See the repo for more details.
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)
What are some alternatives?
godot-nim - Nim bindings for Godot Engine
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
ImThemes - Dear ImGui style browser and editor written in Nim
cefpython - Python bindings for the Chromium Embedded Framework (CEF)
nimbus-eth1 - Nimbus: an Ethereum Execution Client for Resource-Restricted Devices
pywebview - Build GUI for your Python program with JavaScript, HTML, and CSS
mosdepth - fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing
Neutron - Create modern cross-platform apps in Python using HTML and CSS
nim-dnsprotocol - Domain Name System (DNS) protocol for Nim programming language
streamlit - Streamlit — A faster way to build and share data apps.
Datamancer - A dataframe library with a dplyr like API
PyOxidizer - A modern Python application packaging and distribution tool