4 ms·
It's great to see some more competitors on the TUI front of the Python ecosystem! I recently tried multiple existing frameworks and was not particularly happy w
by tbabej 5y ago
It's great to see some more competitors on the TUI front of the Python ecosystem! I recently tried multiple existing frameworks and was not particularly happy with the state.
Here are the main contenders for libraries that provide higher-level API than urwid/ncurses:
* Picotui, https://github.com/pfalcon/picotui https://github.com/pfalcon/picotui
* Npyscreen, https://github.com/npcole/npyscreen https://github.com/npcole/npyscreen
* py_cui, https://github.com/jwlodek/py_cui https://github.com/jwlodek/py_cui
Both Picotui and Npyscreen are relatively unmaintained / considered feature-full. py_cui seems to be in the best shape.
Fingers crossed for this project making it through, building on top of Rich gives it quite a bit of headstart. You can also sponsor @willmcgugan on Github [0].
[0]: https://github.com/sponsors/willmcgugan https://github.com/sponsors/willmcgugan
- BeFlatXIII 5y agoHave you tried ASCIImatics? https://github.com/peterbrittain/asciimatics https://github.com/peterbrittain/asciimatics A project I’m considering would have something similar to the Django admin interface but a TUI with keyboard shortcuts like shift+F9 and I’d like a “pick one and stick with it” recommendation for a TUI toolkit. That said, if a TUI front end for Django admin tasks already exists and I’ve missed it, I’d love to just use that rather than starting from scratch.
- tbabej 5y agoI did look into it, but its focus on animations gave me the perhaps unfair impression that the more mundane text UI elements (i.e. forms, etc.) would be a second-class citizen. Looked like a really great library to build a text adventure game with though!