# libvt > Pure-Python, zero-dependency, typed virtual terminal emulator and streaming VT parser (py3-none-any.whl — no C shared library required). ## Documentation - [Quickstart](https://libvt.git-pull.com/quickstart/): Python >= 3.12 (CPython and PyPy) - [Topics](https://libvt.git-pull.com/topics/): Conceptual guides covering libvt’s sans-I/O architecture, synchronize stepping, terminal protocols, and migration patterns. - [API Reference](https://libvt.git-pull.com/api/): Public modules and types shipped by libvt. - [Project](https://libvt.git-pull.com/project/): Project guides, compatibility information, and API governance. - [Changelog](https://libvt.git-pull.com/history/): Notes on the upcoming release will go here. - [Migration notes](https://libvt.git-pull.com/migration/): Migration and deprecation notes for libvt are recorded here; see changelog as well. ## Documentation - [libvt.aio](https://libvt.git-pull.com/api/aio/): Transport-only asyncio stream and POSIX PTY adapters over Terminal. - [libvt.codec](https://libvt.git-pull.com/api/codec/): Cold-path VT byte-stream disassembler for libvt.explain() and failure dumps. - [libvt.config](https://libvt.git-pull.com/api/config/): Terminal identity profiles, security policies, and resource ceilings. - [libvt.events](https://libvt.git-pull.com/api/events/): Closed algebraic Event union and structured terminal notification records. - [libvt.exc](https://libvt.git-pull.com/api/exc/): Exceptions raised by libvt. - [libvt.graphics](https://libvt.git-pull.com/api/graphics/): Zero-dependency sans-I/O SIXEL and Kitty APC G placement tracker. - [libvt.input](https://libvt.git-pull.com/api/input/): Mode-aware input event types, Kitty keyboard flag stacks, and paste guards. - [libvt](https://libvt.git-pull.com/api/libvt/): Pure-Python virtual terminal emulator and streaming VT parser. - [libvt.modes](https://libvt.git-pull.com/api/modes/): ANSI standard and DEC private terminal mode definitions. - [libvt.parser](https://libvt.git-pull.com/api/parser/): Clean-room VT500 streaming byte parser and SGR parameter decoder. - [libvt.pytest_plugin](https://libvt.git-pull.com/api/pytest_plugin/): Import-light pytest11 plugin providing vt_* fixtures. - [libvt.screen](https://libvt.git-pull.com/api/screen/): Zero-based screen buffer, lazy cell/row/region views, reflow, and dual screens. - [libvt.status](https://libvt.git-pull.com/api/status/): Rex / tmux / Ghostty OSC 7501 Program Status protocol parser and store. - [libvt.style](https://libvt.git-pull.com/api/style/): Terminal cell colors, SGR attributes, and hyperlink metadata. - [libvt.terminal](https://libvt.git-pull.com/api/terminal/): Sans-I/O virtual terminal state machine, immutable snapshots, and formatters. - [libvt.testing](https://libvt.git-pull.com/api/testing/): Column-exact visual boxed screen formatting and test assertions for libvt. - [libvt.tmux](https://libvt.git-pull.com/api/tmux/): Sans-I/O tmux capture-pane and control-mode (-CC) decoders. - [ADR 0001: Clean-room MIT provenance, PyPI namespace, and Python 3.12+ floor](https://libvt.git-pull.com/project/adr/0001-clean-room-provenance-and-license-firewall/): Accepted. 2026-11-21. - [ADR 0002: Sans-I/O layering, Profile/Policy/Limits separation, and closed Events](https://libvt.git-pull.com/project/adr/0002-sans-io-layers-profiles-and-closed-events/): Accepted. 2026-11-21. - [ADR 0003: Two-tier lazy packed viewport rows and RLE FrozenRow scrollback](https://libvt.git-pull.com/project/adr/0003-two-tier-packed-viewport-and-rle-scrollback/): Accepted. 2026-11-21. - [ADR 0004: Zero-based (row, col) coordinates, resize reflow, and ?2026 stepping](https://libvt.git-pull.com/project/adr/0004-zero-based-row-col-coordinates-and-sync-stepping/): Accepted. 2026-11-21. - [ADR 0005: UTF-8/C1 isolation, grapheme caps, and Unicode 17 two-stage table](https://libvt.git-pull.com/project/adr/0005-utf8-c1-isolation-and-unicode-17-grapheme-width/): Accepted. 2026-11-21. - [ADR 0006: G0-G3 charsets, selective erase, and single-truth mode reconciliation](https://libvt.git-pull.com/project/adr/0006-charset-designations-and-single-truth-mode-reconciliation/): Accepted. 2026-11-21. - [ADR 0007: Rex OSC 7501 program status, semantic prompts, and host queries](https://libvt.git-pull.com/project/adr/0007-rex-osc-7501-program-status-and-semantic-prompts/): Accepted. 2026-11-21. - [ADR 0008: Mode-aware input encoding, Kitty keyboard stacks, and paste safety](https://libvt.git-pull.com/project/adr/0008-mode-aware-input-encoding-and-paste-safety/): Accepted. 2026-11-21. - [ADR 0009: Cold-path sequence disassembler and python -m libvt CLI](https://libvt.git-pull.com/project/adr/0009-declarative-sequence-codec-and-stream-explainer/): Accepted. 2026-11-21. - [ADR 0010: Transport-only asyncio/PTY adapters and diagnostic pytest plugin](https://libvt.git-pull.com/project/adr/0010-transport-only-asyncio-and-diagnostic-pytest-plugin/): Accepted. 2026-11-21. - [Architecture Decision Records](https://libvt.git-pull.com/project/adr/): Design decisions, protocol contracts, storage layouts, and security boundaries for libvt. Copy _template.md to NNNN-short-slug.md and add the new document to the table of contents below when record... - [Benchmarking](https://libvt.git-pull.com/project/benchmark/): libvt ships two developer-only benchmark runners under scripts/: - [Code Style](https://libvt.git-pull.com/project/code-style/): Formatting, linting, typing, and import conventions are documented in Contributing. Docstring conventions are in .github/WRITING.md. - [Compatibility](https://libvt.git-pull.com/project/compatibility/): Minimum: Python 3.12 - [Contributing](https://libvt.git-pull.com/project/contributing/): The contributor guide — environment setup, the gates, tests, documentation builds, releases, and the pull request process — lives in .github/CONTRIBUTING.md. - [Deprecations](https://libvt.git-pull.com/project/deprecations/): Active deprecations with timeline and migration paths. - [Public API](https://libvt.git-pull.com/project/public-api/): Every module documented under API Reference is public API. - [Releasing](https://libvt.git-pull.com/project/releasing/): libvt is pre-1.0. Minor version bumps may include breaking API changes. Downstream users should pin to >=0.x,<0.y. - [Architecture & Grid Storage](https://libvt.git-pull.com/topics/architecture/): libvt separates terminal emulation into four acyclic layers so callers import only the machinery they need: - [Migrating from pyte](https://libvt.git-pull.com/topics/migrating-from-pyte/): libvt provides an MIT-licensed, zero-dependency replacement for legacy Python terminal emulators with native support for ?1049 alternate screens, colon SGR subparameters, bidirectional query replie... - [Protocols & Input Encoding](https://libvt.git-pull.com/topics/protocols-and-input/): libvt implements the Rex OSC 7501 Program Status grammar (:-joined key=value pairs, hierarchical / task identifiers, ancestor app inheritance, base64 title and msg, and OSC 9;4 ConEmu progress fall... - [Synchronized Output & asyncio](https://libvt.git-pull.com/topics/sync-and-asyncio/): Modern TUI applications wrap screen redraws in DEC private mode ?2026 (CSI ? 2026 h … CSI ? 2026 l) so observers never inspect half-drawn frames.