stitch-pty is a high-performance, cross-platform pseudo-terminal library for Python. It provides true PTY semantics on Linux, macOS, and Windows with a built-in VT100/VT220/xterm-compatible terminal emulator featuring scrollback history and ANSI color rendering.