{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"pyrepl is a pure-Python readline-like library that provides interactive command-line editing with history, completion, and emacs-mode keybindings for building flexible CLI interfaces.","skillfed_tags":["cli-interaction","repl-enhancement"],"use_cases":["Building custom Python REPLs or interactive shells with readline-like editing and history","Integrating line-editing capabilities into CLI applications without external readline dependencies","Creating multi-line command editors with emacs keybindings in pure Python environments","Running Python interactively with enhanced editing via the included pythoni script","Embedding multiple independent command readers in a single application"],"what_it_does":"pyrepl is a readline replacement written entirely in Python, designed to provide a more interactive command-line editing experience than the standard readline library. It offers multi-line editing, incremental history search, completion with option display, and a substantial set of emacs-mode keybindings. The package includes no global state, allowing multiple independent readers to coexist without history interference, and is built to integrate into application event loops without hogging control.\n\nThe library ships with a `pythoni` script that provides an enhanced Python top-level REPL. It has been actively developed since 2010 and is currently maintained, supporting Python 3.8 through 3.12 across Windows and POSIX systems.","worth_installing":"Yes, if you need readline-like editing in a pure-Python CLI tool or REPL. Low install friction, no dependencies, permissive license, and active maintenance make it a straightforward choice. The lack of external system dependencies is a significant advantage for portability. Not necessary if you are satisfied with standard readline or if you need features the fact sheet does not document."},"id":"pyrepl","links":{"html":"https://skillfed.io/packages/pyrepl","md":"https://skillfed.io/packages/pyrepl.md","pypi":"https://pypi.org/project/pyrepl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-02","license_spdx":null,"license_treatment":"permissive","name":"pyrepl","python_support":"supports_current","summary":"A library for building flexible command line interfaces"},"popularity":{"monthly_downloads":1076274,"position":4404,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.11.5"}
