UI Programming
streamlit
Website: https://streamlit.io/
Blog posts:
- Turn Python Scripts into Beautiful ML Tools - by the inventor of streamlit
- Will streamlit kill off flask?
- Quickly Build and Deploy a Dashboard with Streamlit
- Streamlit 101: An in-depth introduction
- A beginners guide to streamlit: convert Python code into an app
- Turn your data science scripts into websites with Streamlit
PySimpleGUI
Simplifies creating UIs in tkinter, Qt or wxPython on the desktop or via Remi in a browser. Fundamentally single-user mode, it won’t serve web pages to a broad community.
Docs: https://pysimplegui.readthedocs.io/en/latest/ GitHub: desktop, browser
Blog posts:
Qt
Big and complex. It can do pretty much anything, but maybe not easily. In C++ with (confusingly) two competing Python wrappers, one of which has two very different names.
The open-source version works well across Windows/Linux/Mac, with identical source code. The commercial version also supports phones, cars, TVs fridges, toasters, and things I don’t even recognize the name of. Probably also space satellites, though I can’t be sure.
A full download is probably not necessary but I did it anyway. Be careful, it ends up as many GB on disk.
Main web page: qt.io/, but most of us want open source
The same company now supplies Python bindings, called Qt for Python in the docs but PySide2 in pip and in your import statement.
There is also the (somewhat older?) PyQt from Riverbank Computing. Get it with pip install PyQt5
and use it with statements similar to from PyQt5.QtCore import QObject
.