Toga
urwid
Our great sponsors
Toga | urwid | |
---|---|---|
1 | 17 | |
3,183 | 2,448 | |
1.8% | 1.3% | |
9.5 | 0.8 | |
9 days ago | 30 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | LGPL |
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.
Toga
-
Creating Python Android/iOS Apps
PS: While I'm at it, I'm wondering if there's a better Python-friendly UI framework than Toga. It seems to be very basic and focused on cross-platform compatibility - which is nice, but if there's something better, that would be nice to know too.
urwid
- Menus in Python
-
Grab raw keyboard inputs
To go full in on the latter case, people often use libraries like Cursive (akin to urwid for Python but without the horrendously confusing error messages caused duck typing) or tui.
-
Textual: The Definitive Guide - Part 1.
If you have experience with text user interfaces in the past, you might come across other frameworks such as urwid, curtsies, asciimatics, prompt-toolkit to name a few. Nevertheless, If you have not, you are just fine because you are in the right place to learn about TUIs in general and using Textual specifically. I’ll show you how to develop a wordle clone step by step.
- Is there a library for creating interactive long running terminal applications?
-
How can I make a TUI?
Check also urwid. It's more likely a modern text-based interface library for Python. https://github.com/urwid/urwid
-
What is the correct way to create a console application?
Curses seems difficult to use but you should investigate whether it works with what you want to do. https://urwid.org/ seems fun as an alternative.
-
Print colour in terminal
You can also take a look at https://urwid.org/
-
I looking for a TUI liberary/framework with good aesthetics.
urwid is Python, and looks good.
-
Help with Python(3) string formatting
Ok, update: The problem is now fixed, I did some further debugging and found out that simply printing the values has no issues but displaying through Urwid, does. Further since readline() returns \r\n and not just \n, I decided to strip of the last to characters and that fixed the trailing question mark. I fixed the problem with \t using a simple .replace("\t", " ") . So all in all, I asked the question before trying all the possible solutions. Still Thanks to whoever tried to help me. I hope this post serves as reference to those who face similar problems after me.
What are some alternatives?
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
PySide - ATTENTION: This project is deprecated, please refer to PySide2
PySimpleGUI - Launched in 2018. It's 2022 and PySimpleGUI is actively developed & supported. Create complex windows simply. Supports tkinter, Qt, WxPython, Remi (in browser). Create GUI applications trivially with a full set of widgets. Multi-Window applications are also simple. 3.4 to 3.11 supported. 325+ Demo programs & Cookbook for rapid start. Extensive documentation. Examples for Machine Learning(OpenCV Integration, Chatterbot), Rainmeter-like Desktop Widgets, Matplotlib + Pyplot integration, add GUI to command line scripts, PDF & Image Viewer. For both beginning and advanced programmers. docs - PySimpleGUI.org GitHub - PySimpleGUI.com. The Minecraft of GUIs - simple to complex... does them all.
blessed - Blessed is an easy, practical library for making python terminal apps
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
wxPython
pywebview - Build GUI for your Python program with JavaScript, HTML, and CSS
Flexx - Write desktop and web apps in pure Python
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
Eel - A little Python library for making simple Electron-like HTML/JS GUI apps [Moved to: https://github.com/ChrisKnott/Eel]