Jinxed is a pure-Python implementation of a subset of the Python curses library.
It provides jinxed.tigetstr(), jinxed.tparm(), and related terminfo functions on all platforms with a virtual terminfo(5) database.
Jinxed provides pure-python implementations of curses functions:
- setupterm() as jinxed.setupterm()
- tigetflag() as jinxed.tigetflag()
- tigetnum() as jinxed.tigetnum()
- tigetstr() as jinxed.tigetstr()
- tparm() as jinxed.tparm()
Although Jinxed was created primarily to be a dependency to supply Windows support for the blessed 1.16 release for lightweight sequences for the (now legacy) win32 Console API, it has since been extended to contain a subset of the ncurses 6.6 terminfo(5) database and to allow dynamic injection capabilities for XTGETTCAP support, demonstrated in blessed 1.40.
Further documentation can be found on Read the Docs.
$ pip install jinxedSource is available on GitHub
Please report issues on GitHub