Eel
fpm
Our great sponsors
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)
fpm
-
Debian Discusses Vendoring yet Again
If you ever revisit that decision, check out FPM. It can shave off a few of the rough edges related to packaging: https://github.com/jordansissel/fpm
- Fpm – Packaging Made Simple
- PackagingCon – a conference only for software package management
- Makefile to .deb
-
Been adding a little more polish to my Battle Network/ Smash bros inspired game.
The easiest way is probably FPM: https://fpm.readthedocs.io/en/latest/
-
Zrok: open-source peer to peer sharing with ability to selfhost
There is definitely a lot more to building a proper package for wider distribution, but there are some great tools out there for folks wanting to get into it that make it more approachable. I've done my fair share with fpm when learning how the proverbial sausage is made.
-
Can i create deb file from source code?
Check out https://github.com/jordansissel/fpm
- List of Apps I need that are not in repo or flathub
- Can someone point me in the right direction for automating RPM builds?
-
What's the deal with Slackware?
I use RedHat based environments for work. I've had good success creating my own yum repo and building RPM packages with Effing package management. FPM can handle packages for most distros so if you want to publish a linux app it is an easy way to provide it in multiple formats.
What are some alternatives?
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Linuxbrew
cefpython - Python bindings for the Chromium Embedded Framework (CEF)
Homebrew-cask - 🍻 A CLI workflow for the administration of macOS applications distributed as binaries
pywebview - Build GUI for your Python program with JavaScript, HTML, and CSS
omnibus-ruby - Easily create full-stack installers for your project across a variety of platforms.
Neutron - Create modern cross-platform apps in Python using HTML and CSS
CocoaPods - The Cocoa Dependency Manager.
streamlit - Streamlit — A faster way to build and share data apps.
distroless - 🥑 Language focused docker images, minus the operating system.
PyOxidizer - A modern Python application packaging and distribution tool
tito - A tool for managing rpm based git projects.