# stitch-pty — PyPI project page ## Metadata | Field | Value | |---|---| | Institute | Molodetz Institute — Research & Retrieval Division | | Subject | async-pty-process-testing | | Document type | Source Dossier | | Tier | 1 | | Source title | stitch-pty | | Source URL | https://pypi.org/project/stitch-pty/ | | Source publisher / author | stitch-pty project (PyPI) | | Source type | repository | | Source date (published) | Unknown — not stated | | Date researched | 2026-10-09 | | Researched by | tai (agent), model: Claude Sonnet 5, on behalf of retoor | | Research method | web search synthesis | | Confidence | Low | | Status | Active | ## Summary stitch-pty is described as a cross-platform, async pseudo-terminal library for Python with integrated terminal emulation, implemented in Rust with Python bindings. The research flagged it as a young project it could not independently verify further. ## Key findings - Claims cross-platform support (notably including Windows, unlike the stdlib `pty` module), unlike every other option surveyed in this subject. - Implemented in Rust with bindings — a compiled-extension dependency, not a pure-Python one. ## Pros / strengths - If its claims hold up, it would solve the Windows-support gap that every stdlib-`pty`-based approach (including `tai_test.py`'s own) has. ## Cons / limitations / caveats - Explicitly flagged during research as young and unverified — no maturity signal (adoption, release history, test coverage) was found or checked. - A compiled Rust extension is a real dependency, directly in tension with `tai.py`'s own zero-dependency, pure-stdlib project constraint that `tai_test.py` was built to respect. ## Relevance to tai Surveyed and explicitly not adopted, for two independent reasons: insufficient verified maturity, and a hard conflict with the project's stdlib-only constraint. `tai_test.py` built its pty support directly on the stdlib `pty` module instead, accepting the resulting Windows limitation (POSIX-only, `pty` module is not available on Windows) as the simpler, dependency-free tradeoff. ## Changelog | Date | Change | |---|---| | 2026-10-09 | Initial dossier created. |