Urwid

Console User Interface Library for Python
Download

Urwid Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Ian Ward
  • Publisher web site:
  • http://excess.org/urwid/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 231 KB

Urwid Tags


Urwid Description

Console User Interface Library for Python Urwid is a console user interface library for Python. Urwid includes many features useful for text console application developers and is released under the GNU Lesser General Public License.Urwid supports the following character encodings:· UTF-8 (narrow and wide characters)· ISO-8859-*· EUC-JP (JISX 0208 only)· EUC-KR· EUC-CN (aka CN-GB)· EUC-TW (CNS 11643 plain 1 only)· GB2312· GBK· BIG5· UHC Here are some key features of "Urwid": · Fluid interface resizing (xterm window resizing / fbset on Linux console) · Web application display mode using Apache and CGI · Support for UTF-8, simple 8-bit and CJK encodings · Multiple text alignment and wrapping modes built-in · Ability create user-defined text layout classes · Simple markup for setting text attributes · Powerful list box that handles scrolling between different widget types · List box contents may be managed with a user-defined class · Flexible edit box for editing many different types of text · Buttons, check boxes and radio boxes · Customizable layout for all widgets · Easy interface for creating HTML screen shots Requirements: · Python 2.2 or later · (optional) ncurses library to use the curses_display module · (optional) Apache 1.3 or higher to use the web_display module What's New in This Release: · New support for 256 and 88 color terminals with raw_display and html_fragment display modules · New palette_test example program to demonstrate high color modes · New AttrSpec class for specifying specific colors instead of using attributes defined in the screen's palette · New MainLoop class ties together widgets, user input, screen display and one of a number of new event loops, removing the need for tedious, error-prone boilerplate code · New GLibEventLoop allows running Urwid applications with GLib (makes D-Bus integration easier) · New TwistedEventLoop allows running Urwid with a Twisted reactor · Added new docstrings and doctests to many widget classes · New AttrMap widget supports mapping any attribute to any other attribute, replaces AttrWrap widget · New WidgetDecoration base class for AttrMap, BoxAdapter, Padding, Filler and LineBox widgets creates a common method for accessing and updating their contained widgets · New left and right values may be specified in Padding widgets · New command_map for specifying which keys cause actions such as clicking Button widgets and scrolling ListBox widgets · New tty_signal_keys() method of raw_display.Screen and curses_display.Screen allows changing or disabling the keys used to send signals to the application · Added helpful __repr__ for many widget classes · Updated all example programs to use MainLoop class · Updated tutorial with MainLoop usage and improved examples · Renamed WidgetWrap.w to _w, indicating its intended use as a way to implement a widget with other widgets, not necessarily as a container for other widgets · Replaced all tabs with 4 spaces, code is now more aerodynamic (and PEP 8 compliant) · Added saving of stdin and stdout in raw_display module allowing the originals to be redirected · Updated BigText widget's HalfBlock5x4Font · Fixed graph example CPU usage when animation is stopped · Fixed a memory leak related to objects listening for signals · Fixed a Popen3 deprecation warning


Urwid Related Software