pyreadline
A python implmementation of GNU readline.
What it is and what it does
Pyreadline is a pure-Python implementation of GNU readline for Windows, providing line-editing capabilities in interactive Python shells and console applications. It adds features like text selection with Shift+arrow keys, clipboard copy/paste, and keyboard shortcuts that would otherwise be unavailable on Windows consoles.
The package is Windows-specific and was last updated in 2015 to support Python 3.5. It has no runtime dependencies and installs as a binary wheel or source archive. However, the project is now abandoned with no active maintenance, making it unsuitable for modern Python versions or long-term use without significant risk of incompatibility.
Use it for:
- Enhance interactive Python shell experience on Windows with readline-like editing and history navigation.
- Add clipboard-based paste functionality to Windows console applications, including multi-line code pasting.
- Enable text selection and copy operations in Python REPL on Windows using keyboard shortcuts.
- Support legacy Windows 2000/XP systems running Python 2.7 or early Python 3 versions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides GNU readline-like line editing and history functionality for Python on Windows, including text selection, clipboard operations, and keyboard shortcuts.
No. The package is abandoned (last release 2015) with no maintenance for nearly a decade, making it incompatible with modern Python versions. Windows now has better alternatives through IPython, Jupyter, or native improvements to the Python REPL. Install only if you are locked to Python 2.7 or 3.4–3.5 on legacy Windows systems with no other options.
Install
pyreadline on PyPI
pip
pip install pyreadlineuv
uv add pyreadlinepoetry
poetry add pyreadlineInstalling pyreadline
Before you install
High install friction: platform-specific binary wheels (win32, win-amd64) are required; package is abandoned as of 2015 with no maintenance for nearly a decade, making compatibility with modern Python versions uncertain.
License in practice
BSD permissive license allows commercial and private use with minimal restrictions; suitable for most projects without licensing concerns.
Quickstart
pip install pyreadline
import pyreadline
Windows-only; requires Python 2.7 or 3.4–3.5 based on last tested versions; will not install or function on macOS or Linux.
Verify before relying
- Whether package works with Python versions released after 3.5 (2015 release date suggests likely incompatibility).
- Current state of the GitHub repository and whether it remains the canonical source.
- Whether binary wheels are still available or if installation requires compilation.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,985 days since the last release |
| First released | |
| Downloads | 258,595/month — #8,427 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyreadline-2.1.win32.exe; pyreadline-2.1.win-amd64.exe; pyreadline-2.1.zip
Keywords: readline, pyreadline
Tags
More Terminals packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
richRich renders styled text, tables, progress…
permissive · top 100 on PyPI
coloramaColorama makes ANSI escape sequences for…
permissive · top 100 on PyPI
wcwidthMeasures the displayed width of Unicode strings…
permissive · top 1,000 on PyPI
ptyprocessRun a subprocess in a pseudo terminal (pty) and…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
pyreadline3Provides GNU readline-like keyboard input…
permissive · top 5,000 on PyPI
pyreplpyrepl is a pure-Python readline-like library…
permissive · top 5,000 on PyPI
readlineProvides GNU readline library support for…
copyleft · top 15,000 on PyPI
gnureadlineProvides GNU Readline library support for…
copyleft · top 15,000 on PyPI
urwid-readlineAdds readline-style keyboard shortcuts to urwid…
permissive · top 15,000 on PyPI
pyperclipPyperclip provides simple cross-platform access…
permissive · top 1,000 on PyPI
fancycompleterAdds colorful TAB completion to the Python…
permissive · top 5,000 on PyPI
win_unicode_consoleFixes Unicode input and display in Python when…
permissive · top 15,000 on PyPI
bpythonbpython is an enhanced Python interactive…
permissive · top 15,000 on PyPI
clipboardProvides a simple interface to copy text to and…
permissive · top 15,000 on PyPI