$npx skillfedfor your agent

pyrepl

A library for building flexible command line interfaces

With conditionsPyPI UtilitiesReleased Aug 20261.1M downloads / moMIT X11 stylePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyrepl-0.11.5-py3-none-any.whl
v0.11.5 · released 2026-08-02 · Python >=3.8

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or newer.
  • Low friction install with no runtime dependencies.
  • Actively maintained as of 2026-08-02, with recent release activity.

License · maintenance · safety

MIT X11 style (permissive) — MIT X11 style permissive license allows use in most projects without significant restriction.

last release 2026-08-02 (12 days) · last repo commit 2026-08-02 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,076,274 downloads/mo, #4,404 on PyPI

Verify before relying

pip install pyrepl

from pyrepl.console import InteractiveConsole
console = InteractiveConsole()
console.interact()
  • Exact scope of readline emacs-mode keybindings supported (description says 'fairly large subset' but does not enumerate)
  • Whether the package integrates into existing event loops or requires its own control flow
  • Performance characteristics with large histories or completion datasets
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

pyrepl on PyPI

Before you install

Low friction install with no runtime dependencies. Actively maintained as of 2026-08-02, with recent release activity. Supports Python 3.8 through 3.12.

Requires Python 3.8 or newer.

License in practice

MIT X11 style permissive license allows use in most projects without significant restriction.

Quickstart

pip install pyrepl

from pyrepl.console import InteractiveConsole
console = InteractiveConsole()
console.interact()

Verify before relying

  • Exact scope of readline emacs-mode keybindings supported (description says 'fairly large subset' but does not enumerate)
  • Whether the package integrates into existing event loops or requires its own control flow
  • Performance characteristics with large histories or completion datasets

Package facts

LicenseMIT X11 style permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 12 days since the last release
Last repo commit
First released
Downloads1,076,274 / month, #4,404 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Evidence: pyrepl-0.11.5-py3-none-any.whl

Tags

Capabilities
readline alternative pythoninteractive command line editingpython repl with historyterminal input libraryemacs keybindings clicommand completion pythonline editing pure python
Topics
cli-interactionrepl-enhancement
PyPI keywords
readlineshell

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “readline alternative python”

  • pyreplpyrepl is a pure-Python readline-like library that provides…
  • readlineProvides GNU readline library support for Python on platforms like…
  • gnureadlineProvides GNU Readline library support for Python interactive shells…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pyreadline · pyreadline3 · gnureadline · fancycompleter · prompt_toolkit · urwid-readline · tabcompleter · ptpython · readline · pyvim