Urwid is a Python library for making text console applications. It has many features including fluid interface resizing, support for UTF-8 and CJK encodings, standard and custom text layout modes, simple markup for setting text attributes, and a powerful, dynamic list box that handles a mix of widget types. It is flexible, modular, and leaves the developer in control.
Templayer is an HTML templating library for Python that offers an alternative to embedding code within the HTML or embedding HTML within code. Instead, Templayer adds a small amount of syntax to each and keeps the two separate and coherent. It also helps to promote secure Web application development by escaping strings by default, and by not trying to interpret code within template files.