Jinxed is an implementation of a subset of the Python curses library. It provides pure Python implementations of terminfo functions such as tigetstr() and tparm() as well as convenience methods for working with Windows terminals.
Jinxed was initially written to support Blessed on Windows, but will work on all platforms.
$ pip install jinxed
Jinxed documentation can be found on Read the Docs.