txtile

txtile is a Python module for emulating and rendering textmode graphics.

You can check out the development version of txtile from the
bazaar repository:

    bzr co http://copythatfloppy.net/bzr/txtile/

Currently txtile is lacking documentation as its still in development
and rapidly changing, but you can check the docstrings in the source
for help, as well as the unit tests for example usage.

Features:

    - generic interface for manipulating and
      compositing textmode buffers
    - read/write ANSI control sequences
    - render textmode graphics to images with PIL
    - emulate a textmode display with pygame