py_cui
asciimatics
Our great sponsors
py_cui | asciimatics | |
---|---|---|
6 | 17 | |
735 | 3,512 | |
- | - | |
0.0 | 8.1 | |
11 months ago | 4 months ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
py_cui
-
Fancy console
py_cui - Another curses wrapper
-
Textual: A Python Text User Interface with Rich as the Renderer
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
* Npyscreen, https://github.com/npcole/npyscreen
* 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].
-
I pushed my first real project !
So, when I found the different commands to get back my file and recover it, I wanted to create a clear UI to do it. Searching for a CUI library, I've stumbled upon py_cui, based on curses, it has a really easy learning curve. Easy to get it running.
-
I just pushed my real first project !
I dit it with py_cui, it's based on curses library but really easier to work with.
So, when I found the different commands to get back my file and recover it, I wanted to create a clear UI to do it. Searching for a CUI library, I've stumbled upon py_cui, based on curses, it has a really easy learning curve. Easy to get it running.
asciimatics
-
What is your go-to UI framework?
For small apps, I may choose a TUI (Terminal User Interface). Curses for Python is very lightweight, but quite low level and difficult to use for anything more than a very simple interface (if your app tries to draw outside of the drawing area, the app crashes, so you have to carefully manage every detail). Textual and asciimatics are both mature TUI frameworks that provide a higher level and more Pythonic way to create TUI's.
-
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.
-
ShyySH: a TUI connection manager for SSH
I have made yet another ssh connection manager with TUI, using asciimatics and tinyDB.
-
Best library for TUI (Text User Interface) and CLI (Command line Interface)
Personally I dig the aesthetics of asciimatics, it's quite handy and cross-platform.
- Explaining Code Using ASCII Art
-
Asciiville 1.3.1r2 - ASCII Art, animations, and command line Utilities for Linux
asciimatics - automatically display a variety of character based animation effects
- I looking for a TUI liberary/framework with good aesthetics.
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
A cross-platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations.
-
Textual: A Python Text User Interface with Rich as the Renderer
Have you tried 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.
-
best CLI (command line interface) tools or modules?
Just bumped to asciimatics yesterday. You can do some cool CLI stuff with it: https://github.com/peterbrittain/asciimatics
What are some alternatives?
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
colorama - Simple cross-platform colored terminal text in Python
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
npyscreen - Automatically exported from code.google.com/p/npyscreen
picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
asynccli - A CLI framework based on asyncio
click - Python composable command line interface toolkit
blessed - Blessed is an easy, practical library for making python terminal apps