Urwid - Console user interface library for Python
urwid.orgI was looking for python TUI libraries recently. I got turned off this one due to the dependencies.
A simpler model is available with https://jwlodek.github.io/py_cui-docs/
The long list of optional dependencies listed on the page?
If I'm understanding correctly, these just provide additional niceties and is fully usable without them.
I never get these libraries. If you want a GUI, why not just use a real GUI library? Are these simpler to use? Is there an example of TUI that shouldn't be replaced with proper GUI or normal CLI?
Edit: Now that I think about it, a good example of TUI would be htop.
Remote SSH is one reason. Another reason is that TUIs are generally easier to create and maintain than GUIs, especially cross-platform.
also a good tui is hyper efficient
I feel like there's a _spectrum_ of pros/cons in running a GUI versus pure command line.
Command line is the most practical for me, since I spend 99.9% of my time there, and I rarely have an X session anyway on remote server.
Sometimes, I have a need for something more graphical say to look at a git graph. Spawning an X session and running a full blown GUI would be possible but it's too much hassle for that use case IMHO. TUI is a nice in-between.