/urwid

Console user interface library for Python (official repo)

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

Urwid

current version on PyPi docs link build status test coverage

About

Urwid is a console user interface library for Python. It includes many features useful for text console application developers including:

  • Applications resize quickly and smoothly
  • Automatic, programmable text alignment and wrapping
  • Simple markup for setting text attributes within blocks of text
  • Powerful list box with programmable content for scrolling all widget types
  • Your choice of event loops: Twisted, Glib, Tornado or select-based loop
  • Pre-built widgets include edit boxes, buttons, check boxes and radio buttons
  • Display modules include raw, curses, and experimental LCD and web displays
  • Support for UTF-8, simple 8-bit and CJK encodings
  • 24-bit (true color), 256 color, and 88 color mode support
  • Compatible with Python 2.7, 3.4+ and PyPy
Home Page:
http://urwid.org/

Installation

To install using pip

pip install urwid

Alternatively if you are on Debian or Ubuntu

apt-get install python-urwid

Testing

To run tests locally, install & run tox. You must have appropriate Python versions installed to run tox for each of them.

To test code in all Python versions:

tox                    # Test all versions specified in tox.ini:
tox -e py36            # Test Python 3.6 only
tox -e py27,py36,pypy  # Test Python 2.7, Python 3.6 & pypy

Supported Python versions

  • 2.7
  • 3.4
  • 3.5
  • 3.6
  • 3.7
  • 3.8
  • pypy

Authors

Creator

wardi

Maintainers

and3rson, tonycpsu, ulidtko

Contributors

aathan, abadger, aglyzov, akosthekiss, alexozer, andersk, aszlig, atsampson, BkPHcgQL3V, BlindB0, bukzor, eevee, federicotdn, garrison, geier, grugq, hkoof, hootnot, horazont, inducer, ismail-s, italomaia-bk, ivanov, Julian, jwilk, kajojify, Kamik423, kkrolczyk, marienz, matthijskooijman, mbarkhau, mgiusti, mikemccracken, nocarryr, ntamas, olleolleolle, pazz, pniedzwiedzinski, raek, richrd, rndusr, robla, rr-, seleem1337, SenchoPens, shyal, sitaktif, tdryer, techtonik, tu500, usrlocalben, wackywendell, wernight, westurner, whospal, Wilfred, winbornejw, xnox, yanzixiang