py_cui
asciimatics
Our great sponsors
py_cui | asciimatics | |
---|---|---|
6 | 17 | |
737 | 3,528 | |
- | - | |
0.0 | 7.6 | |
12 months ago | 18 days 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].
-
My First Solo Project (Tips?)
You're probably going to want to do this in a TUI. If I was going to attempt this project, I think I'd try py_cui which was written by a fellow Redditor u/QbaPolak17. Another possible (buy maybe less pretty) option is picotui. I've not implemented either of these, but py_cui looks fun.
-
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.
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.
-
I'm making a notes app and am up to making an 'edit' feature, but have no way of making changes to a file's contents, let alone saving the changes and writing them to the file
Scroll down to the TUI example in the README, just above the documentation link: https://github.com/peterbrittain/asciimatics
-
Fireworks-Animated Ascii Art 🎆🎇
Download fireworks.py
-
Fireworks-Animated Ascii Art
Source code: https://github.com/peterbrittain/asciimatics/blob/master/samples/fireworks.py
-
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.
-
CLI Tools on windows [Python]
I've used asciimatics in the past to good effect.
-
Making ascii “animation” look smoother.
Take a look at rich (kinda new, but pretty neat), asciimatics, or urwid
- Explaining Code Using ASCII Art
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
npyscreen - Automatically exported from code.google.com/p/npyscreen
colorama - Simple cross-platform colored terminal text in Python
picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
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.
blessed - Blessed is an easy, practical library for making python terminal apps
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.