Packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
IPython is an enhanced interactive Python shell and Jupyter kernel that provides object introspection, persistent input history, tab completion, magic commands, and integrated debugging.
Install it if you work interactively with Python, use Jupyter, or want to embed a rich shell in your application.
Provides bash and zsh tab completion for Python applications using argparse, allowing users to complete command-line arguments and options by pressing Tab.
Install it if you want to add professional-grade tab completion to your Python command-line tools.
Formats and parses numbers, file sizes, timespans, and other values into human-readable text; provides terminal interaction utilities including ANSI text styling and user prompts.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
progressbar2 renders text-based progress bars in the terminal, handling custom widgets, concurrent bars, unknown-length progress, and clean output around logs and prints.
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
libtmux provides a typed Python API to control tmux (the terminal multiplexer) programmatically, letting you manage servers, sessions, windows, and panes as Python objects instead of parsing shell commands.
Records and replays terminal sessions, saving them as timestamped files that can be played back in the terminal or uploaded to asciinema.org for web viewing.
Suitable for one-off or occasional use; not recommended if you require active maintenance or expect to rely on it in production workflows.
Yaspin displays an animated terminal spinner to indicate progress during long-running operations, with support for 70+ spinner styles, colors, and text attributes via a context manager or decorator interface.
However, maintenance is aging (251 days since last release), so consider this if you need active bug fixes or Python version support updates; for stable,…
Generates shell tab completion scripts for Python CLI applications built with argparse, supporting bash, zsh, fish, and tcsh without runtime overhead.
Install it if you build Python command-line tools and want to offer your users fast, reliable shell completion.
Telnet server, client, and protocol library for Python 3.9+ with asyncio and blocking API support, including CLI utilities and a backport of the removed telnetlib module for Python 3.13+.
Install it if you need telnet support, are migrating from the standard library, or are building MUD/BBS infrastructure.
Wraps Python's subprocess module to simplify executing local commands, remote commands over SSH, and concurrent command pools with proper argument escaping and error handling.
ssh2-python provides Python bindings to libssh2, a low-level SSH2 protocol library, enabling direct access to SSH2 operations via C-API semantics.
SASPy connects Python to SAS deployments (local or remote) to run SAS code and return results as text, HTML, or Pandas DataFrames, enabling mixed Python/SAS workflows.
Install only if you have access to a SAS 9.4+ or SAS Viya 3+ deployment and need bidirectional Python-SAS integration.
Unified terminal UI library providing colored output, structured logging, progress bars, interactive prompts, and rich components (panels, tables, trees) for CLI applications.
Sarge wraps Python's subprocess module to provide POSIX-style command pipelines with chains, pipes, and redirection on Windows, macOS, and Unix.
Install it if subprocess boilerplate is slowing you down.
Sty provides a simple, customizable string styling markup for terminal output, supporting 3/4bit, 8bit, and 24bit colors plus effects like bold, italic, and underline, with no external dependencies.
Python bindings to the libssh C library for SSH client operations, with thread-safe, low-overhead access to remote command execution and file transfer over SSH.
However, the aging maintenance status (306 days since last release) and small community (48 GitHub stars) mean you should verify active support for your use case…
Asynchronous SSH client for running commands on hundreds or thousands of remote servers in parallel with minimal client-side overhead, using native C libraries for performance.
Temporarily override environment variables within a scoped context, automatically restoring the original state when the block exits.
Enables running and interacting with bash commands directly inside Jupyter notebooks and consoles as a kernel, with support for displaying images, HTML, and JavaScript output.
Python client library for the Rockset API, enabling programmatic creation, management, and querying of Rockset resources.
tmuxp saves and loads tmux sessions from YAML or JSON configuration files, letting you define multi-window, multi-pane terminal layouts declaratively and restore them on demand.
Install it if you find yourself recreating the same tmux layouts repeatedly or want to version-control your terminal workspace configuration.
Click Extra is a wrapper around Click that adds configuration file loading, colored help screens, standard CLI options, and theming to make building professional command-line tools faster and with less boilerplate.
JumpSSH runs commands on remote servers through SSH gateways, supporting multi-hop connections and file operations without uploading scripts to remote hosts.
However, verify that it works with your target Python version and that paramiko updates are sufficient for your security requirements, given that jumpssh itself has…
Converts a click command-line app into an interactive shell with command completion by replacing @click.group with @click_shell.shell.
Pansi provides a clean interface for rendering text and graphics in the terminal using ANSI escape sequences, with modules for text styling, image rendering, and full-screen layout.
However, note that the project is dormant (no releases in 649 days), so do not expect active maintenance, bug fixes, or updates—suitable for stable use cases but…
termplotlib renders line plots, histograms, and bar charts directly in the terminal using ASCII or Unicode characters, with a matplotlib-like API.
MetaKernel is a base class for building custom Jupyter kernels in Python, providing core magic functions like help, completion, parallel processing, and shell integration.
Install it if you are building a custom Jupyter kernel or want to add MetaKernel magics to IPython.