Skip to main content

Par Term Emu Core Rust

PyPI Crates.io PyPI - Python Version Runs on Linux | MacOS | Windows Arch x86-64 | ARM | AppleSilicon PyPI - Downloads Crates.io Downloads PyPI - License

A comprehensive terminal emulator library written in Rust with Python bindings for Python 3.12+. Provides VT100/VT220/VT320/VT420/VT520 compatibility with PTY support, matching iTerm2's feature set.

"Buy Me A Coffee"

What's New

Note: For the complete release history, see CHANGELOG.md. The entries below cover the most recent releases; the full history for older versions lives in CHANGELOG.md.

Version 0.50.0 is a minor release with two breaking changes: the dead terminal multiplexing module (PaneState/WindowLayout/SessionState and the Terminal pane-state methods) is removed from the Rust and Python surfaces, and poll_events()/poll_subscribed_events()/observer callbacks now return native Python types instead of stringly-typed dicts (a poll_events_legacy()/poll_subscribed_events_legacy() bridge keeps the old shape available for one release). The par-mux daemon gained its full Phase 2–6 command, agent, and resume work, plus post-release fixes for reattach scrollback, daemon-restart screen state, and a blank-split-pane bug; the streaming server picked up read-only-mode enforcement, a WebSocket handshake timeout, TLS/Basic-auth/CSP hardening, and clickjacking protection headers. See What's New in 0.50.0 below, and CHANGELOG.md for complete release notes.

What's New in 0.50.0

Version 0.50.0 is a minor release whose headline is two breaking changes — a Python API removal and a Python event-dict type change — plus the par-mux Phase 2–6 daemon work, a round of post-release par-mux bug fixes, and streaming-server security hardening.

  • Removed (breaking): the terminal multiplexing module — PaneState, WindowLayout, SessionState, and the Terminal pane-state methods (capture_pane_state and friends) — is gone from the Rust API and the Python bindings. It had zero callers in the codebase, its capture was plain rendered text (Vec<String>: no colors, attributes, scrollback, or alternate screen), and restore_pane_state restored only size/title/cursor by its own comment. replay_snapshot.rs's TerminalSnapshot already captures everything a real persistence format needs, and par-mux Phase 3's on-disk format started from that type; no consumer of the removed API existed to migrate.
  • Changed (breaking): poll_events(), poll_subscribed_events(), and observer callbacks now return native Python types in their event dicts — numeric fields are int, booleans are bool, and unset optional fields are None instead of omitted — where every field was previously a string ("true"/"false" for booleans, omitted keys for unset optionals). poll_events_legacy() / poll_subscribed_events_legacy() are byte-identical to the old string-typed output and are kept for one release to ease migration.
  • Added — par-mux daemon lifecycle: a kill-server command and par-mux --stop/--restart flags (previously the only way to stop the daemon was finding its PID and sending SIGTERM); a version command reporting the daemon's build stamp (<crate version>+<git sha[-dirty]>) so a stale long-lived daemon is detectable; and automatic reaping of panes whose child process exited on its own, which previously sat frozen in the tree forever.
  • Added — par-mux pane titles and application-keypad tracking: select-pane -T/%pane-title-changed/pane-title, persisted across restart; ESC =/ESC > (DECPAM/DECPNM) application keypad mode is now tracked, snapshotted, and restored on both the Rust and Python surfaces.
  • Added — par-mux capture-pane -e and a full-state reattach seed: styled -e capture with SGR escape bytes inline, and refresh-client -t now replays the full export_screen_restore_sequence() (cursor, input modes, alt-screen selection, and — as of the post-release fix below — scrollback) instead of just the styled screen.
  • Added — PtyTerminal.wait_for_update()/wait_for_text(): condition-variable-backed blocking waits for applied PTY content, releasing the GIL, replacing time.sleep polling in test and automation code.
  • Added — par-mux Phase 2–6 command, agent, and resume work (Rust mux feature): the pane/window/session command set (split-window, select-pane, resize-pane, swap-pane, lifecycle broadcasts, tmux-contract send-keys), the Phase 5 agent layer (herdr-compatible JSON hook reports, %agent-state-changed with hook/scrape provenance, the list-agents roster, and a scrape tier for claude/codex/grok panes without hooks), and Phase 6 agent-session resume (session identity persists across restarts and a restarted daemon respawns agent panes through their resume invocations).
  • Fixed — par-mux, post-release: the reattach seed now replays scrollback instead of only the visible screen; a restarted daemon returns a full-screen pane (htop, top) to the main screen instead of a frozen alternate screen; a split pane's output now reaches clients (new splits previously rendered blank); and the command grammar accepts quoted session/window names containing spaces.
  • Fixed — the alternate screen no longer reflows on resize (Rust + Python API): a width change previously reflowed the alt screen exactly like the main screen, scrambling full-screen TUIs (ratatui, curses) that redraw only what they believe changed. The alt screen now truncates/pads in place, matching xterm/tmux; main-screen reflow is unchanged.
  • Security — streaming server hardening: read-only clients can no longer mutate shared state via Resize/FocusChange/Selection/Clipboard messages; WebSocket handshakes are timeout-bounded and count against max_clients before completing; TLS private-key permission checks now also cover --tls-pem; HTTP Basic auth verification runs at constant time regardless of username; secrets no longer appear in Debug output; X-Frame-Options/CSP headers are sent on every response (clickjacking defense); session ids are validated before reaching the session registry; and Input/Paste payloads are size-capped with PTY writes off the async runtime. See CHANGELOG.md for the full SEC-001 through SEC-011 list.

See CHANGELOG.md for complete release notes.

What's New in 0.49.0

Version 0.49.0 is a minor release focused on graphics placement fidelity, recording interoperability, and web-terminal rendering. Added: export_asciicast_v3() exports recordings in the asciicast v3 format — nested term header, relative per-event intervals, "COLSxROWS" resize strings — with a g graphics event per graphic that entered the store during the recording (live placements plus scrollback promotions) carrying protocol, geometry, position, and base64 RGBA pixels the text-only stream cannot convey. Parameterized XTPUSHCOLORS/XTPOPCOLORS slot forms: CSI Pi # P stores the current dynamic + ANSI palette into slot Pi (1–10) without pushing and CSI Pi # Q restores it without popping, with stores past the current depth growing the stack and padding intermediate slots with current-color snapshots. DECSDM sixel display mode (CSI ? 80 h/l): set mode paints sixel graphics at the home position without scrolling or moving the cursor (xterm/mlterm/WezTerm semantics), reset keeps the default cursor-relative scrolling placement; DECRQM reports mode 80, DECSTR/RIS restore the default. Kitty display placements (a=T/a=p) now advance the cursor to the first line below the image, spanning the placement's row count via the ordinary newline path — scroll region and scrollback promotion apply as for a multi-row text write; C=1 suppresses the move (chafa and similar emitters), and virtual placements (U=1) never move the cursor. The web terminal frontend renders Sixel DCS q and iTerm2 OSC 1337 inline images via @xterm/addon-image (Kitty pixel placements remain unsupported by xterm.js). No breaking changes for Python or Rust consumers.

What's New in 0.48.0

Version 0.48.0 is a minor release focused on Kitty graphics protocol fidelity, driven by Herdr's image output. Added: placement geometry metadata — lowercase x=/y=/w=/h= are parsed as the source crop rectangle and preserved as new source_x/source_y/source_width/source_height fields on ImagePlacement (included in the JSON graphics export), while uppercase X=/Y= are the within-cell display offsets; previously lowercase x=/y= were misread as cell offsets, losing the crop entirely. Redisplaying an explicit nonzero (i=, p=) pair is now an upsert instead of a duplicate. Fixed: Kitty APCs process in stream order so interleaved cursor moves position each image slice (previously every slice stacked at one position); d= delete commands resolve after the full key=value list, so d= preceding i=/p= (Herdr's order) no longer silently no-ops; explicit c=/r= footprints govern row spans, graphics_at_row, and scroll/scrollback behavior instead of native pixel sizes; an omitted c=/r= axis is computed from the cropped source aspect ratio per the protocol; and retransmitting an image ID deletes its previous placements (including scrollback and animation state) as the spec requires, ending duplicate placements on session replay. Changed — breaking for Rust rlib consumers only: TerminalGraphic::height_in_rows now takes (fallback_cell_width, fallback_cell_height); the method is not exposed to Python. See CHANGELOG.md for complete release notes.

What's New in 0.47.0

Version 0.47.0 is a minor release focused on VT-sequence fidelity, security hardening, and Python ergonomics. Added: the XTPUSHCOLORS/XTPOPCOLORS/XTREPORTCOLORS color palette stack (CSI # P/Q/R — previously CSI # P misrouted to DCH and deleted characters); legacy alternate-screen modes 47, 1047 and 1048 (only 1049 was wired, so apps hardcoding the legacy modes got no screen switch); X10 mouse tracking (DECSET 9 — the mode existed but no DECSET arm ever set it); DECSACE stream-vs-rectangle extent for DECCARA/DECRARA; OSC 1337;CurrentDir= as an iTerm2 working-directory alias for OSC 7; Terminal.diff_snapshots() returning a SnapshotDiff (the class existed but no binding produced one); genuine Python type stubs (py.typed + generated _native.pyi — 69 classes, 1,335 methods, 342 properties); a criterion VTE throughput benchmark suite (make bench, committed baseline); and a vitest harness for the web frontend. Security: streaming-server HTTP CORS no longer falls back to very_permissive when no origin allowlist is configured and the /sessions endpoint gained the WS origin guard; the Kitty file-transmission .. check is component-wise (no longer rejects my..notes.png); debug-log temp files are PID-suffixed with 0600 and O_NOFOLLOW. Fixed: asciicast v2 export timestamps were 1000× too small (ms misread as µs); both WebSocket server paths (tungstenite and axum) now complete the RFC 6455 closing handshake instead of dropping with a bare FIN (clients saw 1006); Kitty placement APCs now store their decoded graphics; get_word_at/select_word are display-column correct for CJK/emoji; tests/test_streaming.py passes again under the streaming build. Changed — breaking for Rust rlib consumers only: MSRV raised 1.90 → 1.98 (PyPI wheel users unaffected), dead APIs removed from the rlib surface (none were exposed to Python), streaming codec conversions are macro-generated (ConnectedBuilder replaces five partial constructors — old ones deprecated one release), and src/streaming/server.rs was decomposed with types re-exported at their old paths. See CHANGELOG.md for complete release notes.

What's New in 0.46.0

Version 0.46.0 is a minor release focused on a headless build profile and a logging fix. Added: the sim cargo feature — a headless terminal profile that compiles only grid + terminal + screenshot (no PTY, Python, or streaming), for pure-Rust embedders that vendor the crate as a server-side screen model (e.g. par-hack's char-mode simulation) without spawning real processes. The real-PTY backend is now gated behind a new pty_session feature that makes portable-pty and nix optional; python (the PyPtyTerminal binding) and streaming-bin (the server binary) auto-enable pty_session, so the default build, the PyPI wheel, and par-term-streamer are behaviorally unchanged. Consume with cargo build --no-default-features --features sim. Fixed: the Rust debug log now writes to the system temp dir (std::env::temp_dir()) instead of a hardcoded /tmp/... — on macOS the Rust log previously landed in /tmp while the Python TUI's log went to the per-user temp dir; both now agree (Linux is unchanged). Internal: removed the gitnexus/graphify dev-tooling integrations. Non-breaking for Python and Rust consumers. See CHANGELOG.md for complete release notes.

What's New in 0.45.0

Version 0.45.0 is a minor release focused on host-integrated window reporting, a TUI rendering fix, and a broad dependency refresh. Added: host-supplied window state for XTWINOPS reports — the headless core previously hardcoded CSI 11 t to always report non-iconified and CSI 13 t / CSI 13 ; 2 t to report position (0, 0); GUI hosts (e.g. par-term) can now call set_window_iconified(bool) / set_window_position(x, y) (with window_iconified() / window_position() getters) so these reports reflect the real on-screen window. Defaults are unchanged when the host never calls the setters, and a negative host-supplied coordinate is clamped to 0 in the CSI 13 t reply (CSI parameters are unsigned). Exposed on both Python Terminal and PtyTerminal. Changed: MSRV raised 1.88 → 1.90 — breaking for direct Rust rlib consumers only (no dependency requires it; set to a recent stable for broader compatibility); PyPI (Python wheel) users are unaffected, and the Linux glibc floor stays at 2.17 (manylinux2014). Fixed: a generation-counter race in PtySession where the counter could advance before the grid was written, letting a renderer stamp its cell cache with the already-advanced generation over not-yet-updated grid content — when that read was the last of an output burst, the counter never advanced again and partial regions froze until the next keypress/resize (visible in full-screen editors/pagers that repaint via partial line edits: joe, vim DL/IL/EL). A second generation bump now runs after the grid write, while the pre-processing bump is retained to preserve the issue #60 liveness guarantee. Dependencies: Rust cargo update (5 minor + 39 patch, no majors), Python (uv lock --upgrade: pillow, maturin, pyright, pytest, ruff), and web frontend (ncu: patch bumps + pako 2 → 3, with a one-line import fix in lib/protocol.ts); TypeScript held at 6.0.3. See CHANGELOG.md for complete release notes.

What's New in 0.44.0

Version 0.44.0 is a minor release focused on terminal-reporting completeness, security hardening, and concurrency. Added: OSC 99 Kitty desktop notifications (OSC 99 ; <metadata> ; <payload> ST) with multi-chunk accumulation, urgency, and actions — exposed to Python via the new take_notifications_detailed() method and Notification class (the existing take_notifications()/drain_notifications() tuple API is unchanged); XTGETTCAP (DCS + q) replying terminal capabilities (TN/Co/RGB/Tc); DECRQSS (DCS $ q) replying current SGR / cursor-style / scroll-margin settings; and XTWINOPS report ops CSI 11 t / 13 t / 19 t (window state / position / size-in-characters). Fixed: a DCS routing bug where DCS +q (XTGETTCAP) and DCS $q (DECRQSS) were misrouted into the Sixel parser because routing keyed only on the final q byte. Security: Kitty PNG and iTerm2 image decoding now enforce a shared MAX_IMAGE_PIXELS product cap (closing a decompression-bomb DoS reachable from any terminal/SSH bytes), and the streaming-server CLI hides api_key / http_password / http_password_hash values from --help. Performance: observer/trigger callback dispatch and PTY device-query reply writes moved outside the Terminal write lock (the reader thread previously held the exclusive guard across blocking PTY writes and Python re-entry, stalling every concurrent reader), screenshot glyph bitmaps are shared via Arc<[u8]> instead of per-character deep copies, and the per-row String allocation in flag-emoji detection is gone. Refactored (internal, no API change): the 4,004-line python_bindings/types.rs god-file was split into 12 cohesive submodules behind an unchanged facade, and the duplicated WS/WSS handshake logic was consolidated into a single shared callback factory. Non-breaking for Python and Rust consumers. See CHANGELOG.md for complete release notes.

Full history: CHANGELOG.md — every release from 0.9.0 through 0.43.0 is documented there (older README release notes were merged into the changelog).

Features

Core Terminal Emulation

  • VT100/VT220/VT320/VT420/VT520 Support - Comprehensive terminal emulation matching iTerm2
  • Rich Color Support - 16 ANSI colors, 256-color palette, 24-bit RGB (true color)
  • Text Attributes - Bold, italic, underline (5 styles), strikethrough, blink, reverse, dim, hidden
  • Advanced Cursor Control - Full VT cursor movement and positioning
  • Line/Character Editing - VT220 insert/delete operations
  • Rectangle Operations - VT420 fill/copy/erase/modify rectangular regions (DECFRA, DECCRA, etc.)
  • Scrolling Regions - DECSTBM for restricted scrolling areas
  • Tab Stops - Configurable tab stops (HTS, TBC, CHT, CBT)
  • Unicode Support - Full Unicode including complex emoji sequences and grapheme clusters
    • Variation selectors (emoji vs text presentation)
    • Skin tone modifiers (Fitzpatrick scale U+1F3FB-U+1F3FF)
    • Zero Width Joiner (ZWJ) sequences for multi-emoji glyphs
    • Regional indicators for flag emoji
    • Combining characters and diacritical marks

Modern Features

  • Alternate Screen Buffer - Full support with automatic cleanup
  • Mouse Support - Multiple tracking modes and encodings (X10, Normal, Button, Any, SGR, URXVT)
  • Bracketed Paste Mode - Safe paste handling
  • Focus Tracking - Focus in/out events
  • OSC 8 Hyperlinks - Clickable URLs in terminal (full TUI support)
  • OSC 52 Clipboard - Copy/paste over SSH without X11
  • OSC 9/777/99 Notifications - Desktop-style alerts and notifications, including Kitty's OSC 99 protocol (chunked payloads, urgency levels, actions) via take_notifications_detailed()
  • Terminal Capability Queries - XTGETTCAP (DCS + q) capability lookup and DECRQSS (DCS $ q) SGR/cursor-style/scroll-margin introspection
  • Expanded XTWINOPS Reporting - CSI 11/13/19 t report window state, position, and screen size in characters
  • Shell Integration - OSC 133 (iTerm2/VSCode compatible), OSC 1337 RemoteHost for remote host detection
  • Semantic Buffer Zones - OSC 133 FinalTerm markers partition scrollback into prompt, command, and output zones
  • Command Output Capture - Extract text from specific command execution blocks via get_command_output() and get_command_outputs()
  • Semantic Snapshot API - Structured terminal state extraction via get_semantic_snapshot() for AI/LLM consumption, with configurable scope (visible, recent, full) and JSON output
  • Kitty Keyboard Protocol - Progressive keyboard enhancement with auto-reset on alternate screen exit
  • Synchronized Updates (DEC 2026) - Flicker-free rendering
  • Tmux Control Protocol - Control mode integration support
  • Observer API - Push-based event delivery with sync callbacks and async queues; convenience wrappers for common patterns (bell, title, CWD, command completion, zone changes)
  • General-purpose File Transfer - OSC 1337 File= with inline=0 for host-to-terminal downloads, RequestUpload for terminal-to-host uploads, with progress tracking and lifecycle events
  • Instant Replay - Cell-level terminal snapshots with input-stream delta recording, size-based eviction, and timeline navigation via SnapshotManager and ReplaySession
  • C-Compatible FFI - #[repr(C)] types (SharedState, SharedCell) and C API (terminal_get_state, terminal_add_observer) for embedding in C/C++ applications

Graphics Support

  • Sixel Graphics - DEC VT340 compatible bitmap graphics with half-block rendering
  • iTerm2 Inline Images - OSC 1337 protocol for PNG, JPEG, GIF images
  • Kitty Graphics Protocol - APC G protocol with image reuse, animations, zlib compression (o=z), and advanced placement
  • Unicode Placeholders - Virtual placements insert U+10EEEE characters for inline image display
  • Unified Graphics Store - Protocol-agnostic storage with scrollback support
  • Animation Support - Frame-based animations with timing and composition control
  • Resource Management - Configurable memory limits and graphics dropped tracking

PTY Support

  • Interactive Shell Sessions - Spawn and control shell processes
  • Bidirectional I/O - Send input and receive output
  • Process Management - Start, stop, and monitor child processes
  • Dynamic Resizing - Resize with SIGWINCH signal
  • Environment Control - Custom environment variables and working directory
  • Event Loop Integration - Non-blocking update detection
  • Cross-Platform - Linux, macOS, and Windows via portable-pty

Terminal Streaming (WebSocket)

  • Standalone Server - Pure Rust streaming server binary (no Python required)
  • Real-time Streaming - Sub-100ms latency terminal streaming over WebSocket
  • Multiple Clients - Support for concurrent viewers per session
  • Authentication - Optional API key authentication (header or URL param)
  • Configurable Themes - Multiple built-in color themes (iTerm2, Monokai, Dracula, Solarized)
  • Auto-resize - Client-initiated terminal resizing with SIGWINCH support
  • Browser Compatible - Works with any WebSocket client (xterm.js recommended)
  • Modern Web Frontend - Next.js/React application with Tailwind CSS v4 and xterm.js

Terminal Multiplexer (par-mux)

  • tmux Control Mode - Sessions, windows, and split panes served over a local socket, attachable by tmux control-mode clients
  • Real-Time Push - Pane output streams to clients as bytes arrive; no polling
  • Agent Awareness - Panes report agent state over the same socket (JSON hook reports), with a scrape fallback for agents without hooks and an agent roster query
  • Session Resume - Agent session identity persists across daemon restarts; agent panes respawn through their resume invocations
  • Crash-Safe State - Atomic saves with quarantine of unreadable state files; a clean SIGTERM never loses the last window

Screenshots and Export

  • Multiple Formats - PNG, JPEG, BMP, SVG (vector), HTML
  • Embedded Font - JetBrains Mono bundled - no installation required
  • Programming Ligatures - =>, !=, >=, and other code ligatures
  • True Font Rendering - High-quality antialiasing for raster formats
  • Color Emoji Support - Full emoji rendering with automatic font fallback
  • Session Recording - Record/replay sessions (asciicast v2, JSON)
  • Export Functions - Plain text, ANSI styled, HTML export

Macro Recording and Playback

  • YAML Format - Human-readable macro storage format
  • Friendly Key Names - Intuitive key combinations (ctrl+shift+s, enter, f1, etc.)
  • Keyboard Events - Record and replay keyboard input with precise timing
  • Delays - Control timing between events
  • Screenshot Triggers - Trigger screenshots during playback
  • Playback Controls - Play, pause, resume, stop, and speed control
  • Macro Library - Store and manage multiple macros
  • Recording Conversion - Convert terminal recording sessions to macros

Utility Functions

  • Text Extraction - Smart word/URL detection, selection boundaries, bracket matching
  • Content Search - Find text with case-sensitive/insensitive matching
  • Buffer Statistics - Memory usage, cell counts, graphics count and memory tracking
  • Color Utilities - 18+ color manipulation functions (iTerm2-compatible)
    • NTSC brightness, contrast adjustment, WCAG accessibility checks
    • Color space conversions (RGB, HSL, Hex, ANSI 256)
    • Saturation/hue adjustment, color mixing

Documentation

Installation

From PyPI

uv add par-term-emu-core-rust
# or
pip install par-term-emu-core-rust

From Source

Requires Rust 1.98+ and Python 3.12+:

# Install maturin (build tool)
uv tool install maturin

# Build and install
maturin develop --release

Building a Wheel

maturin build --release
uv add --find-links target/wheels par-term-emu-core-rust
# or
pip install target/wheels/par_term_emu_core_rust-*.whl

Using as a Rust Library

The library can be used in pure Rust projects without Python. Choose your feature combination:

Use Case Cargo.toml What's Included
Rust Only par-term-emu-core-rust = { version = "0.50", default-features = false, features = ["pty_session"] } Terminal, PTY, Macros
Rust + Streaming par-term-emu-core-rust = { version = "0.50", default-features = false, features = ["streaming", "pty_session"] } + WebSocket/HTTP server
Python Only par-term-emu-core-rust = "0.50" + Python bindings
Everything par-term-emu-core-rust = { version = "0.50", features = ["full"] } All features

Note: Since v0.46.0 the pty_session module (real PTY backend) is a separate feature. Omit it only for headless use without PtySession. See docs/RUST_USAGE.md for details.

Download pre-built streaming server (recommended):

Pre-built binaries and web frontend packages are available from GitHub Releases:

# Download binary (Linux example)
wget https://github.com/paulrobello/par-term-emu-core-rust/releases/latest/download/par-term-streamer-linux-x86_64
chmod +x par-term-streamer-linux-x86_64

# Download web frontend (asset named par-term-web-frontend-v<version>.tar.gz from
# https://github.com/paulrobello/par-term-emu-core-rust/releases/latest)
mkdir -p ./web_term
tar -xzf par-term-web-frontend-v*.tar.gz -C ./web_term

# Run
./par-term-streamer-linux-x86_64 --web-root ./web_term

Available binaries: Linux (x86_64, ARM64), macOS (Intel, Apple Silicon), Windows (x86_64)

Or install from crates.io:

cargo install par-term-emu-core-rust --features streaming-bin

Or build from source:

cargo build --bin par-term-streamer --no-default-features --features streaming-bin --release
./target/release/par-term-streamer --help

See docs/RUST_USAGE.md for detailed Rust API documentation and examples.

Optional Components

Terminfo Installation

For optimal terminal compatibility, install the par-term terminfo definition:

# Install for current user
./terminfo/install.sh

# Or install system-wide
sudo ./terminfo/install.sh --system

# Then use
export TERM=par-term
export COLORTERM=truecolor

See terminfo/README.md for details.

Shell Integration

Enhances terminal with semantic prompt markers, command status tracking, and smart selection:

cd shell_integration
./install.sh  # Auto-detects bash/zsh/fish

See shell_integration/README.md for details.

Quick Start

Basic Terminal Emulation

from par_term_emu_core_rust import Terminal

# Create terminal
term = Terminal(80, 24)

# Process ANSI sequences
term.process_str("Hello, \x1b[31mWorld\x1b[0m!\n")
term.process_str("\x1b[1;32mBold green text\x1b[0m\n")

# Get content and cursor position
print(term.content())
col, row = term.cursor_position()
print(f"Cursor at: ({col}, {row})")

PTY (Interactive Shell)

from par_term_emu_core_rust import PtyTerminal

# Create PTY terminal and spawn shell
with PtyTerminal(80, 24) as term:
    term.spawn_shell()

    # Send commands
    term.write_str("echo 'Hello from shell!'\n")
    # Block until the output actually lands — no sleep guessing
    term.wait_for_text("Hello from shell!", timeout=3.0)

    # Get output
    print(term.content())

    # Resize terminal
    term.resize(100, 30)

    # Exit shell
    term.write_str("exit\n")
# Automatic cleanup

Environment Variables and Working Directory

Pass environment variables and working directory directly to spawn_shell() without modifying the parent process environment. This is safe for multi-threaded applications (e.g., Tokio):

from par_term_emu_core_rust import PtyTerminal

# Spawn with custom environment variables
with PtyTerminal(80, 24) as term:
    term.spawn_shell(env={"MY_VAR": "hello", "DEBUG": "1"})
    term.write_str("echo $MY_VAR\n")  # Outputs: hello

# Spawn with custom working directory
with PtyTerminal(80, 24) as term:
    term.spawn_shell(cwd="/tmp")
    term.write_str("pwd\n")  # Outputs: /tmp

# Combine both
with PtyTerminal(80, 24) as term:
    term.spawn_shell(env={"PROJECT": "myapp"}, cwd="/home/user/projects")

The spawn() method also accepts env and cwd parameters:

term.spawn("/bin/bash", ["-c", "echo $MY_VAR"], env={"MY_VAR": "test"}, cwd="/tmp")

Screenshots

term = Terminal(80, 24)
term.process_str("\x1b[1;31mHello, World!\x1b[0m\n")

# Save screenshot
term.screenshot_to_file("output.png")
term.screenshot_to_file("output.svg", format="svg")  # Vector graphics!
term.screenshot_to_file("output.html", format="html")  # Styled HTML

# Custom configuration
term.screenshot_to_file(
    "output.png",
    font_size=16.0,
    padding=20,
    include_scrollback=True,
    minimum_contrast=0.5,  # iTerm2-compatible contrast adjustment
)

Color Utilities

from par_term_emu_core_rust import (
    perceived_brightness_rgb,
    adjust_contrast_rgb,
    contrast_ratio,
    meets_wcag_aa,
    rgb_to_hex,
    hex_to_rgb,
    mix_colors,
)

# iTerm2-compatible contrast adjustment
adjusted = adjust_contrast_rgb((64, 64, 64), (0, 0, 0), 0.5)

# WCAG accessibility checks
ratio = contrast_ratio((0, 0, 0), (255, 255, 255))
print(f"Contrast ratio: {ratio:.1f}:1")
print(f"Meets WCAG AA: {meets_wcag_aa((0, 0, 0), (255, 255, 255))}")

# Color conversions
hex_color = rgb_to_hex((255, 128, 64))  # "#FF8040"
rgb = hex_to_rgb("#FF8040")  # (255, 128, 64)
mixed = mix_colors((255, 0, 0), (0, 0, 255), 0.5)  # Purple

Macro Recording and Playback

from par_term_emu_core_rust import Macro, PtyTerminal
import time

# Create a macro manually
macro = Macro("git_status")
macro.set_description("Check git status and show branch")
macro.add_key("g")
macro.add_key("i")
macro.add_key("t")
macro.add_key("space")
macro.add_key("s")
macro.add_key("t")
macro.add_key("a")
macro.add_key("t")
macro.add_key("u")
macro.add_key("s")
macro.add_key("enter")
macro.add_delay(500)  # Wait 500ms
macro.add_screenshot("git_status.png")  # Trigger screenshot

# Save to YAML
macro.save_yaml("git_status.yaml")

# Load and play back
term = PtyTerminal(80, 24)
term.spawn_shell()

# Load macro from file
loaded_macro = Macro.load_yaml("git_status.yaml")
term.load_macro("git_check", loaded_macro)

# Play the macro
term.play_macro("git_check", speed=1.0)  # Normal speed

# Tick to execute macro events
while term.is_macro_playing():
    if term.tick_macro():  # Returns True if event was processed
        time.sleep(0.01)  # Small delay for visual effect

    # Check for screenshot triggers
    triggers = term.get_macro_screenshot_triggers()
    for label in triggers:
        term.screenshot_to_file(label)

# Convert a recording to a macro
term.start_recording("test session")
term.write_str("ls -la\n")
time.sleep(0.5)
session = term.stop_recording()

# Convert and save
macro = term.recording_to_macro(session, "ls_command")
macro.save_yaml("ls_command.yaml")

Examples

See the examples/ directory for comprehensive examples:

Basic Examples

  • basic_usage_improved.py - Enhanced basic usage
  • colors_demo.py - Color support
  • cursor_movement.py - Cursor control
  • text_attributes.py - Text styling
  • unicode_emoji.py - Unicode/emoji support
  • scrollback_demo.py - Scrollback buffer usage

Advanced Features

  • alt_screen.py - Alternate screen buffer
  • mouse_tracking.py - Mouse events
  • bracketed_paste.py - Bracketed paste
  • synchronized_updates.py - Flicker-free rendering
  • shell_integration.py - OSC 133 integration
  • test_osc52_clipboard.py - SSH clipboard
  • test_kitty_keyboard.py - Kitty keyboard protocol
  • hyperlink_demo.py - Clickable URLs
  • notifications.py - Desktop notifications
  • rectangle_operations.py - VT420 rectangle ops

Graphics and Export

  • display_image_sixel.py - Sixel graphics
  • test_sixel_simple.py - Simple sixel examples
  • test_sixel_display.py - Advanced sixel display
  • screenshot_demo.py - Screenshot features
  • feature_showcase.py - Comprehensive TUI showcase

PTY Examples

  • pty_basic.py - Basic PTY usage
  • pty_shell.py - Interactive shells
  • pty_resize.py - Dynamic resizing
  • pty_event_loop.py - Event loop integration
  • pty_mouse_events.py - Mouse in PTY
  • pty_custom_env.py - Custom environment variables
  • pty_multiple.py - Multiple PTY sessions
  • pty_with_par_term.py - Integration with par-term

Terminal Streaming

  • streaming_demo.py - Python WebSocket streaming server
  • streaming_client.html - Browser-based terminal client

Macros and Automation

  • demo.yaml - Example macro definition

Standalone Rust Server:

# Build and run (default: ws://127.0.0.1:8099)
make streamer-run

# Run with authentication
make streamer-run-auth

# Or use cargo directly
cargo build --bin par-term-streamer --no-default-features --features streaming-bin --release
./target/release/par-term-streamer --port 8099 --theme dracula

# With authentication
./target/release/par-term-streamer --api-key my-secret --theme monokai

# With system resource stats (CPU, memory, disk, network)
./target/release/par-term-streamer --enable-system-stats --system-stats-interval 5

# Install globally
make streamer-install
par-term-streamer --help

Available Themes: iterm2-dark, monokai, dracula, solarized-dark

Web Terminal Frontend

Using Pre-built Package (Recommended):

Download the pre-built static web frontend from GitHub Releases:

# Download and extract (asset named par-term-web-frontend-v<version>.tar.gz from
# https://github.com/paulrobello/par-term-emu-core-rust/releases/latest)
mkdir -p ./web_term
tar -xzf par-term-web-frontend-v*.tar.gz -C ./web_term

# Run streamer with web frontend
par-term-streamer --web-root ./web_term
# Open browser to http://localhost:8099

See web-terminal-frontend/README.md for detailed usage instructions.

Building from Source:

A modern Next.js-based web terminal frontend source is in web-terminal-frontend/:

cd web-terminal-frontend

# Install dependencies
npm install

# Development server (runs on port 8030)
npm run dev

# Build for production (outputs to out/)
npm run build

# Copy to web_term for serving
cp -r out/* ../web_term/

Features:

  • Modern UI with Tailwind CSS v4
  • xterm.js terminal emulator
  • WebSocket connection to streaming server
  • Theme selection and synchronization
  • Responsive design
  • Terminal resize support
  • Customizable UI theme - Edit theme.css after build (no rebuild required)

See web-terminal-frontend/README.md for detailed setup and configuration.

TUI Demo Application

A full-featured TUI (Text User Interface) application is available in the sister project par-term-emu-tui-rust.

TUI Demo Application

Installation: uv add par-term-emu-tui-rust or pip install par-term-emu-tui-rust

GitHub: https://github.com/paulrobello/par-term-emu-tui-rust

Technology

  • Rust (1.98+) - Core library implementation
  • Python (3.12+) - Python bindings
  • PyO3 - Zero-cost Python/Rust bindings
  • VTE - ANSI sequence parsing
  • portable-pty - Cross-platform PTY support

Running Tests

# Run Rust tests
cargo test

# Run Python tests
uv sync  # Install dependencies including pytest
pytest tests/

Performance

  • Zero-copy operations where possible
  • Efficient grid representation
  • Fast ANSI parsing with VTE crate
  • Minimal Python/Rust boundary crossings

See docs/ARCHITECTURE.md for implementation details.

Security

When using PTY functionality, follow security best practices to prevent command injection and other vulnerabilities.

See docs/SECURITY.md for comprehensive security guidelines.

Contributing

Contributions are welcome! Please submit issues or pull requests on GitHub.

Development Setup

git clone https://github.com/paulrobello/par-term-emu-core-rust.git
cd par-term-emu-core-rust
make setup-venv  # Create virtual environment
make pre-commit-install  # Install pre-commit hooks (recommended)
make dev  # Build library
make checkall  # Run all quality checks

Code Quality

All contributions must pass:

  • Rust formatting (cargo fmt)
  • Rust linting (cargo clippy)
  • Python formatting (make fmt-python)
  • Python linting (make lint-python)
  • Type checking (pyright)
  • Tests (make test-python)

TIP: Use make pre-commit-install to automate all checks on every commit!

See CONTRIBUTING.md for the contribution workflow, and CLAUDE.md for detailed development instructions.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Paul Robello - probello@gmail.com

Release files for par-term-emu-core-rust 0.50.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for par-term-emu-core-rust 0.50.0
File Size Uploaded
par_term_emu_core_rust-0.50.0.tar.gz 1.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for par-term-emu-core-rust 0.50.0
File
par_term_emu_core_rust-0.50.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
par_term_emu_core_rust-0.50.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details
par_term_emu_core_rust-0.50.0-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.14 CPython 3.14 macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.12+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
par_term_emu_core_rust-0.50.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
par_term_emu_core_rust-0.50.0-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64, macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64) Details
par_term_emu_core_rust-0.50.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
par_term_emu_core_rust-0.50.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
par_term_emu_core_rust-0.50.0-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
par_term_emu_core_rust-0.50.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 Details

Total release size: 68.6 MB

Release files / par_term_emu_core_rust-0.50.0.tar.gz

Download URL par_term_emu_core_rust-0.50.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
91da0d5a46083f4d07374640d0f1f42fef2e45d5b9b15b3de22b5138e5e20e95
BLAKE2b-256 checksum
How to use checksums
89036c855f9b0420abeeba7d7ecfef0e3040d9084ca186731149f9eafaa9380d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp314-cp314-win_amd64.whl

Download URL par_term_emu_core_rust-0.50.0-cp314-cp314-win_amd64.whl
Size 3.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
69453f83736aa52b9e057359906acafe871adc099a91feb610f57edd8a108031
BLAKE2b-256 checksum
How to use checksums
aa2956b3002dae6702de7bfb4f182b0f78f94868543898aac7b30771a96e7ba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL par_term_emu_core_rust-0.50.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.8 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b290c5a3e011c9a245c49f47fb4379f2ad90415b46e23cfa15ba9442134593ac
BLAKE2b-256 checksum
How to use checksums
8c69f4b8f810cbbce96b074770d1ac9cc8c016c82af71ef78f0171dcabaf325e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL par_term_emu_core_rust-0.50.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.7 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
4b94afc15e94a18ad32f2749dc248e29a5e373682613be573d8927eab0e04ed6
BLAKE2b-256 checksum
How to use checksums
5a0d3034f22fb599619467f399030fe732ad0f7c011f78a9a12b456cdee657ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp314-cp314-macosx_10_12_x86_64.whl

Download URL par_term_emu_core_rust-0.50.0-cp314-cp314-macosx_10_12_x86_64.whl
Size 3.7 MB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3ba79b872578d80c26506526961731099465e6bf0780a2f803a61fce981de3f6
BLAKE2b-256 checksum
How to use checksums
f8e5d818cd9aa7d870a1c50cc109ef20f7824af2d98320f70583f99dd71106c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL par_term_emu_core_rust-0.50.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 7.2 MB
Tags CPython 3.14 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
02331986418869d4ee7158c101390f3265265e688e38be5dbeae7dfbd155a27d
BLAKE2b-256 checksum
How to use checksums
3a5c6915138636b2a368c908f67c5d57022a54e1c50b52a6e7aeb2a57ad8232c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp313-cp313-win_amd64.whl

Download URL par_term_emu_core_rust-0.50.0-cp313-cp313-win_amd64.whl
Size 3.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f21bc2afd6967aa16ee866effb4b55a367f35ca31bef3317c974c815c4f36f3a
BLAKE2b-256 checksum
How to use checksums
b1f5ffc56227a0464c16ef5fbbe0868f78411a823af70897e8865dfa97a88f0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL par_term_emu_core_rust-0.50.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
33bf32d99225b6c4167bf59d30a9728c39a531758f19f25224a0ee8579659b5e
BLAKE2b-256 checksum
How to use checksums
ea9400ccd1c68279c6b99e407dd10029a78bd04b812ff50f8c731a1262165b13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL par_term_emu_core_rust-0.50.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.7 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
ec48a2b89198c7d91fe0ce4254d4b7e9097272d3fe8c86dd9fa07c11fe9624a9
BLAKE2b-256 checksum
How to use checksums
66493fc3ffa4d915fe0a4a839b9d0138aed87664506b24058e0996db3fdc9653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp313-cp313-macosx_10_12_x86_64.whl

Download URL par_term_emu_core_rust-0.50.0-cp313-cp313-macosx_10_12_x86_64.whl
Size 3.7 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
971e9594c3a1de3f49063216f5c6aa366e5583178ed35b1b9bc02c0fde58948b
BLAKE2b-256 checksum
How to use checksums
f99fbb103d30d2798bd5c08598cbb1f08e36bdf6dc2cdf95c1ed32716ef0a73c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL par_term_emu_core_rust-0.50.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 7.2 MB
Tags CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ed769b3bbdcf7d30b43c5d50f9bc343649656602dc7da1e8b2b6ae346a6ae02d
BLAKE2b-256 checksum
How to use checksums
9c7f6736c3ffd0518ae0de9e02470e5bb8438eb2e1f96b5f5bb3c4aa9894fb98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp312-cp312-win_amd64.whl

Download URL par_term_emu_core_rust-0.50.0-cp312-cp312-win_amd64.whl
Size 3.9 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a3c05665f4fa7c4c4d419654fb817644bc03781c91c0dbf2e42b31ecf1bb6904
BLAKE2b-256 checksum
How to use checksums
42803600d071fe7a6aa17bbf40d157550c1b30e17df2baf616c4a94a326c0a7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL par_term_emu_core_rust-0.50.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9d3c8143d779feecbbda898161dca38a0835299fc70d5eeebe7814271b00b2cf
BLAKE2b-256 checksum
How to use checksums
ca6b2c97ba395d38edf0ed99f8e24f6908a1d6bc05f31b050891e2b52264c9f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL par_term_emu_core_rust-0.50.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.7 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
f921f4e4462480f5bb8f2ad2581e7630b05efe45fe59dfd3a500ecf3767cfe1f
BLAKE2b-256 checksum
How to use checksums
e3b244b6843fad38a30ca6e8dfd74e30d69f42de2d1ae9be8e57f5bc95f35504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp312-cp312-macosx_10_12_x86_64.whl

Download URL par_term_emu_core_rust-0.50.0-cp312-cp312-macosx_10_12_x86_64.whl
Size 3.7 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
71997a9a9095e01c60eb8b469ddf13ed1b3111de0f199ebcf0aab5e41e0f5c7a
BLAKE2b-256 checksum
How to use checksums
6fd15fabc80e86437260c503fc312defaca2df6a414141e2da35257cf58c4571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / par_term_emu_core_rust-0.50.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL par_term_emu_core_rust-0.50.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 7.2 MB
Tags CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7a276a535e9102f4f77c53b1ec688ec9a8ff25a65e85978e57e2f33e1322d47d
BLAKE2b-256 checksum
How to use checksums
4685afbc45abebef8e222cf222c03549e2e6340422f8116c62204984c81d070d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.50.0 This release

16 release files

0.9.1

16 release files

0.9.0

16 release files

0.8.0

16 release files

0.7.0

16 release files

0.6.0

16 release files

0.5.0

16 release files

0.4.0

16 release files

0.3.0

16 release files

0.2.3

16 release files

0.2.1

16 release files

0.2.0

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page