--- id: readline version: "6.2.4.2" license: unclear license_treatment: copyleft maintenance: aging --- # readline — The standard Python readline extension statically linked against the GNU readline library. License: copyleft · Maintenance: aging · Downloads: 254.8K/mo ## What it is and what it does readline is a deprecated Python extension that bundles and statically links the GNU readline library, providing full readline functionality on platforms like macOS that ship with editline (libedit) instead. It was designed to give users proper line-editing, history, and completion support in interactive Python sessions without requiring separate system libraries. The module compiles readline 6.2 from source and links it directly into the Python extension, making installation self-contained. This package is no longer maintained and has been superseded by gnureadline. It only supports Python versions up to 3.3 and explicitly prevents installation on Python 3.4 and later. The last release was in 2022, and the codebase is aging. Unless you are stuck on very old Python versions and cannot migrate to gnureadline, this package should be avoided. Use it for: - Restoring GNU readline on macOS systems where the standard library uses editline instead, for full readline compatibility in interactive shells. - Supporting legacy Python 2.x or early Python 3.x applications that depend on readline functionality and cannot be updated. - Providing readline on systems with licensing restrictions that prevent shipping GNU readline by default (historical use case). ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides GNU readline library support for Python on platforms like macOS that lack it by default, bundling and statically linking readline into a Python extension module. No. This package is explicitly deprecated and has been renamed to gnureadline. It is capped at Python < 3.4, has not been updated since 2022, and carries high compilation friction. Install gnureadline instead if you need GNU readline support on modern Python. ## Install pip install readline uv add readline poetry add readline ## Installing readline Before you install: High install friction due to C compilation requirements (readline-6.2.4.2.tar.gz). Package is aging—last release was 2022-10-12, over 1402 days ago. Maintenance status is deprecated; the package has been renamed to gnureadline and should not be used for new projects. License in practice: Licensed under GPLv3 (copyleft). Users must comply with GPL terms if they distribute or modify code linked against this package. Quickstart: pip install readline import readline readline.parse_and_bind('tab: complete') Requires Python < 3.4 (capped_below_current). Compilation requires a C compiler and readline development headers. This package is deprecated; use gnureadline instead. Verify before relying: - Whether the static linking approach still works reliably on modern macOS versions beyond 10.9+. - Compatibility with Python 3.4+ despite the stated version cap—whether installation is actually prevented or just unsupported. - Whether the GitHub repository remains actively maintained or is archived. ## Package facts - License: not declared (copyleft) - Python support: capped_below_current - Install friction: high - Maintenance: aging - Downloads: 254.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags gnu readline python, readline extension module, macos readline support, python line editing, terminal input history, interactive shell readline, deprecated, legacy-python [View on SkillFed](https://skillfed.io/packages/readline) · [View on PyPI](https://pypi.org/project/readline/)