curtsies
ansi-styles-python
curtsies | ansi-styles-python | |
---|---|---|
2 | 2 | |
58 | 2 | |
- | - | |
10.0 | 0.0 | |
almost 4 years ago | almost 3 years ago | |
Python | Python | |
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.
curtsies
- Is there a library for creating interactive long running terminal applications?
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
Curses-like terminal wrapper with a display based on compositing 2d arrays of text.
ansi-styles-python
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
ANSI escape codes for styling strings in the terminal.
-
ANSI Escape Codes
If someone wants to do this in Python, I made a lib for it: pip3 install ansi-escapes
It’s a port of sindresorhus’s ansi-escapes library. I find it way more convenient than looking up codes.
https://github.com/shawwn/ansi-escapes-python
See also ansi-styles, the lib that Chalk is based on. (Colors! You like colors? Are you a curmudgeony salt that refuses to use Rich for some reason? Use that.)
As with ansi-escapes, you can just pip install ansi-styles.
https://github.com/shawwn/ansi-styles-python
What are some alternatives?
urwid - Console user interface library for Python (official repo)
notcurses - blingful character graphics/TUI library. definitely not curses.
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
Lanterna - Java library for creating text-based GUIs
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
S-Lang - The S-Lang programming library is a software library for Unix, Windows, VMS, OS/2, and Mac OS X. It provides routines for embedding an interpreter for the S-Lang scripting language, and components to facilitate the creation of text-based applications.[3] The latter class of functions include routines for constructing and manipulating keymaps, an interactive line-editing facility, and both low- and high-level screen/terminal management functions. It is distributed under the terms of the GNU General Public License.