textual
urwid
Our great sponsors
textual | urwid | |
---|---|---|
127 | 18 | |
19,489 | 2,601 | |
3.1% | 0.6% | |
10.0 | 0.0 | |
7 days ago | about 19 hours ago | |
Python | Python | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
textual
-
How to format output for a stand-alone display screen? Larger numbers, colors, redrawing the screen from the top left instead of printing a new line every time?
If you are looking for something more flexible that just printing to a terminal, take a look at Asciimatics and textual. Both are available from Pypi.
-
Ratatui: Build rich terminal user interfaces
As someone that use both Python and Rust, it's hard to motivate myself to write TUI in Rust, because with Python we have the amazing textual.
- BFS for shortest path
-
Show HN: Trogon – An automatic TUI for command line apps
I would also[0] be interested in an argparse equivalent of this for my tool Library[1]
-
coBib 4.0: a modern UI using Textualize libraries
Today I released coBib 4.0, my console bibliography manager written in Python, which now uses rich and textual to provide a cohesive and modern user experience in both its CLI and TUI.
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
I don't think it is exactly what you're looking for, but Textual will be supporting something close to what I think you're after, soon. https://github.com/Textualize/textual
-
Ink: React for interactive command-line apps
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
-
Tried Textual to build a simple TUI - Skylab (a tool to track upcoming space launches)
I guess you looked at it a while ago because the docs are quite detailed with lots of examples.
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
A beautiful TUI periodic table for GNU/Linux terminals (ptable) in C
Concerning your roadmap, you might wanna take some inspiration from Textual, it's a really mordern approach to TUIs. I understand that the level of abstraction is high and might be tasking to implement many of the ideas in there in C... and please fgs, don't think about doing the CSS shit.
urwid
-
Any guide to creating a terminal application?
In addition to the other great libraries already mentioned, since you're in Python you may want to consider urwid, it's really robust and has a lot of built-ins.
- 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.
- Is there a library for creating interactive long running terminal applications?
-
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.
-
What do you NOT like about Rust?
As someone coming from Python, I've had more than enough opaque duck-typed errors from urwid and I'd like my error messages to fit on one page.
-
Best TUI Library/Framework
Take a look at urwid and asciimatics.
What are some alternatives?
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
blessed - Blessed is an easy, practical library for making python terminal apps
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
Toga - A Python native, OS native GUI toolkit.
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
PySimpleGUI - Launched in 2018. It's 2023 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 docs
npyscreen - Automatically exported from code.google.com/p/npyscreen
bubbletea - A powerful little TUI framework 🏗