asciimatics
termbox
asciimatics | termbox | |
---|---|---|
17 | 8 | |
3,530 | 1,941 | |
- | - | |
7.6 | 0.0 | |
11 days ago | over 3 years ago | |
Python | C | |
Apache License 2.0 | MIT License |
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.
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
termbox
-
Writing TUI with Ratatouille
Most answers were a code-golf style with writing the full functionality in least number of lines of code. I took a different approach. Since some time already I wanted to try out Ratatouille - an Elixir toolkit for writing TUI (Terminal UI), based on termbox.
-
I looking for a TUI liberary/framework with good aesthetics.
If you want to go lower-level, then I would recommend against ncurses, and instead start with notcurses or termbox. termbox has lots of language bindings, but the author is no longer maintaining it. Still, not a bad place to start from. If you do decide to get into ncurses, this doc can get you over some of the humps with keyboard/screen/mouse.
-
termbox VS FINAL CUT - a user suggested alternative
2 projects | 30 Dec 2021
-
S-Lang alternatives - FINAL CUT and termbox
3 projects | 30 Dec 2021
-
ncurses alternatives - S-Lang, termbox, and rang
4 projects | 30 Dec 2021
-
notty alternatives - S-Lang and termbox
3 projects | 30 Dec 2021
-
newt alternatives - S-Lang, termbox, and Lanterna
4 projects | 30 Dec 2021
-
How to embed advanced links in terminal?
Alternatively, there's termbox: https://github.com/nsf/termbox (minimalistic). Or prompt_toolkit: https://github.com/prompt-toolkit/python-prompt-toolkit (huge).
What are some alternatives?
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
Ncurses - ncurses Git mirror
colorama - Simple cross-platform colored terminal text in Python
args - A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).
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.
docopt.cpp - C++11 port of docopt
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
gflags - The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
rang - A Minimal, Header only Modern c++ library for terminal goodies ๐โจ
npyscreen - Automatically exported from code.google.com/p/npyscreen
jarro2783/cxxopts - Lightweight C++ command line option parser