jinxed
Jinxed Terminal Library
What it is and what it does
Jinxed is a pure-Python implementation of a subset of the Python curses library, designed to provide terminal capability functions on all platforms with a virtual terminfo database. It implements setupterm(), tigetflag(), tigetnum(), tigetstr(), and tparm() — functions normally available only through system curses on Unix-like systems — and makes them work on Windows and other platforms that lack native curses support.
Originally created to supply Windows support for the blessed terminal library, Jinxed has evolved to include a subset of the ncurses 6.6 terminfo database and support for dynamic injection capabilities like XTGETTCAP. It depends on ansicon for runtime functionality and is actively maintained across Python 2.7 and Python 3.5 through 3.15, supporting both CPython and PyPy.
Use it for:
- Building cross-platform terminal UI libraries that need terminfo capabilities on Windows without system dependencies
- Extending blessed or other terminal libraries to work reliably on Windows with proper terminal sequences
- Querying terminal capabilities programmatically in pure Python without relying on system curses
- Implementing terminal control sequences that adapt to different terminal types across operating systems
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Jinxed provides pure-Python implementations of curses terminfo functions (setupterm, tigetstr, tparm, and related) that work cross-platform, including Windows, without requiring system curses libraries.
Yes. Jinxed is actively maintained, has no known vulnerabilities, and solves a real problem: providing curses terminfo functions on Windows and other platforms where system curses is unavailable or difficult to install. The low install friction and single dependency make it a practical choice for projects that need cross-platform terminal capability queries. Install it if you're building terminal UIs that must work reliably on Windows.
Install
jinxed on PyPI
pip
pip install jinxeduv
uv add jinxedpoetry
poetry add jinxedInstalling jinxed
Before you install
Low install friction; distributed as a wheel. Actively maintained with a recent release (42 days ago) and no known vulnerabilities. Single runtime dependency (ansicon) keeps the dependency tree minimal.
License in practice
Licensed under Mozilla Public License 2.0 (copyleft). You must disclose source code modifications and include the license with distributions, but can use it in proprietary projects if you comply with MPL terms.
Quickstart
pip install jinxed
import jinxed
jinxed.setupterm()
seq = jinxed.tigetstr('bold')
print(seq)
Verify before relying
- Whether ansicon is automatically installed on Windows or requires separate setup
- Completeness of the ncurses 6.6 terminfo subset relative to common terminal types
- Performance characteristics when used as a dependency in high-throughput applications
Package facts
| License | MPLv2.0 (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — ansicon |
| Maintenance | actively maintained — 42 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,179,877/month — #1,775 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: jinxed-2.1.0-py2.py3-none-any.whl
Keywords: terminal, console, blessed, curses
Tags
More Terminals packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
richRich renders styled text, tables, progress…
permissive · top 100 on PyPI
coloramaColorama makes ANSI escape sequences for…
permissive · top 100 on PyPI
wcwidthMeasures the displayed width of Unicode strings…
permissive · top 1,000 on PyPI
ptyprocessRun a subprocess in a pseudo terminal (pty) and…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blessedBlessed provides a clean Python interface for…
permissive · top 5,000 on PyPI
windows-cursesProvides the standard Python curses module on…
permissive · top 15,000 on PyPI
blessingsBlessings provides a clean Python API for…
permissive · top 5,000 on PyPI
asciimaticsAsciimatics provides cross-platform terminal UI…
permissive · top 15,000 on PyPI
pythondialogProvides a Python interface to the UNIX dialog…
copyleft · top 15,000 on PyPI
urwidUrwid is a Python console UI library that lets…
copyleft · top 5,000 on PyPI
pudbPuDB is a full-screen console-based visual…
permissive · top 5,000 on PyPI
coloredColored provides ANSI/VT100 escape sequences…
permissive · top 5,000 on PyPI