[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823819: ITP: python-blessed -- Thin, practical wrapper around terminal capabilities in Python



Package: wnpp
Severity: wishlist
Owner: "ChangZhuo Chen (陳昌倬)" <czchen@debian.org>

* Package name    : python-blessed
  Version         : 1.14.1
  Upstream Author : Jeff Quast, Erik Rose
* URL             : https://github.com/jquast/blessed/
* License         : Expat
  Programming Lang: Python
  Description     : Thin, practical wrapper around terminal capabilities in Python

 Blessed is a thin, practical wrapper around terminal capabilities in
 Python. It provides:
 .
 * Styles, color, and maybe a little positioning without necessarily
   clearing the whole screen first.
 * Works great with standard Python string formatting.
 * Provides up-to-the-moment terminal height and width, so you can
   respond to terminal size changes.
 * Avoids making a mess if the output gets piped to a non-terminal:
   outputs to any file-like object such as StringIO, files, or pipes.
 * Uses the terminfo(5) database so it works with any terminal type and
   supports any terminal capability: No more C-like calls to tigetstr
   and tparm.
 * Keeps a minimum of internal state, so you can feel free to mix and
   match with calls to curses or whatever other terminal libraries you
   like.
 * Provides plenty of context managers to safely express terminal modes,
   automatically restoring the terminal to a safe state on exit.
 * Act intelligently when somebody redirects your output to a file,
   omitting all of the terminal sequences such as styling, colors, or
   positioning.  Dead-simple keyboard handling: safely decoding unicode
   input in your system's preferred locale and supports
   application/arrow keys.
 * Allows the printable length of strings containing sequences to be
   determined.

-- 
ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Debian Developer (https://nm.debian.org/public/person/czchen)
Key fingerprint = EC9F 905D 866D BE46 A896  C827 BE0C 9242 03F4 552D
                  BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B

Attachment: signature.asc
Description: PGP signature


Reply to: