--- id: pyreadline3 version: "3.5.6" license: BSD license_treatment: permissive maintenance: active --- # pyreadline3 — A python implementation of GNU readline. License: permissive · Maintenance: active · Downloads: 7.7M/mo ## What it is and what it does pyreadline3 is a Python implementation of GNU readline functionality, forked from the stale pyreadline package and updated for modern Python versions. It adds keyboard-driven text editing, selection, and clipboard operations to Python's interactive console, with features like Shift+arrow selection, Ctrl+C copy activation, and multi-line code pasting. The package is built on ctypes and has been tested primarily on Windows 10. It targets developers who need enhanced console input handling in Python environments, particularly on Windows where readline is not natively available. The package requires Python 3.8 or later and has no external runtime dependencies, making installation straightforward. It remains under active maintenance with recent commits, though the description notes the original implementation is incomplete. Use it for: - Enhance interactive Python REPL sessions on Windows with text selection and copy/paste. - Enable Shift+arrow key text selection in Windows console applications using Python. - Paste multi-line code into Python interactive mode with automatic empty-line removal. - Configure clipboard behavior for IPython-like tab-separated data pasting as lists or arrays. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides GNU readline-like keyboard input handling and text editing for Python on Windows, including text selection, copy/paste, and multi-line code pasting. Yes, if you use Python interactively on Windows and want readline-like editing features. The package is actively maintained, has no dependencies, and carries a permissive BSD license. However, verify compatibility if you're on a non-Windows platform, as the package is explicitly tested only on Windows 10 despite supporting Python 3.8–3.12. ## Install pip install pyreadline3 uv add pyreadline3 poetry add pyreadline3 ## Installing pyreadline3 Before you install: Low friction installation with no runtime dependencies. Actively maintained as of 2026-05-14 with recent activity, though primarily tested on Windows 10. License in practice: BSD license is permissive; you may use, modify, and distribute this package freely in both open and closed projects with minimal restrictions. Quickstart: pip install pyreadline3 import pyreadline3 # Enables readline-like functionality in interactive Python sessions Primarily tested on Windows 10; functionality on other operating systems is not documented. Verify before relying: - Whether pyreadline3 works reliably on non-Windows platforms despite Windows-specific classifier. - Whether the package integrates automatically with Python's interactive mode or requires explicit activation. - Current state of incomplete features mentioned in the original pyreadline package description. ## Package facts - License: BSD (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 7.7M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags readline implementation python windows, keyboard text selection copy paste, gnu readline python, console input editing, terminal line editing windows, windows-console, interactive-shell [View on SkillFed](https://skillfed.io/packages/pyreadline3) · [View on PyPI](https://pypi.org/project/pyreadline3/)