TermEmulator is a pure python module for emulating VT100 terminal programs.
It handles V100 special characters and most important escape sequences. It also handles graphics rendition which specifies text style (i.e. bold, italics), foreground color and background color.
The handled escape sequences are CUU, CUD, CUF, CUB, CHA, CUP, ED, EL, VPA and SGR.
TermEmulator source code and tracker are at https://github.com/sivachandran/TermEmulator.