API Reference¶
Public modules and types shipped by libvt.
libvtLazy PEP 562 quickstart exports: Terminal, Snapshot, render, strip, and
core types.
libvt.terminalTerminal, StopOn, StepResult, render, and strip.
libvt.screen & libvt.viewsScreen, ScreenSet, Cell, RowView, RowRun, RegionView, and Cursor.
libvt.snapshot, format, & recorderSnapshot, SyncToken, ScreenDelta, Formatter, TerminalRecorder, and
FlightRecorder.
libvt.parserStreaming VT500 Parser, CsiParams, Action records, and parse_sgr.
libvt.style & libvt.modesStyle, AnsiColor, IndexedColor, RgbColor, Hyperlink, and DEC/ANSI Modes.
libvt.config, profiles, events, & statusProfile capability groups, host presets, Policy, Limits, Event, and
ProgramStatus.
libvt.input & libvt.codecMode-aware KeyEvent, MouseEvent, PasteEvent, and VT sequence explain.
libvt.aioAsyncSession, AsyncTerminalStream, and POSIX open_pty / PtySession.
libvt.testingZero-dependency assert_screen, assert_screen_box, vt_screen,
serialize_vt_snapshot, and format_vt_diff_lines.
libvt.pytest_pluginImport-light vt_terminal, vt_factory, vt_recorder, vt_parser, and
vt_pty fixtures (libvt[pytest]).
libvt.graphicsSIXEL and Kitty APC G ImageMeta and ImagePlacement.
libvt.contrib.tmuxDecoupled tmux profile, capture, window, and control submodules.
libvt.contrib.subprocessSynchronous child processes on POSIX PTYs and Windows ConPTY.
libvt.contrib.syrupyOptional syrupy VtSnapshotExtension and conditional vt_snapshot fixture for
.ambr golden files (libvt[syrupy]).
Policy and Guarantees¶
What is and is not part of the public API.
Supported Python versions and platforms.
Active deprecations and migration guidance.