{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/12"}],"enrichment":{"capability":"Provides GNU Readline library support for Python interactive shells and scripts on platforms that ship with libedit instead, enabling proper command-line editing and history.","skillfed_tags":["readline","shell-repl","macos-compat"],"use_cases":["Fix tab completion in the interactive Python shell on macOS when the default readline is actually libedit.","Override readline in scripts to ensure GNU Readline behavior across platforms without conditional imports.","Maintain consistent command history and editing experience in Python REPL across macOS and Linux systems.","Enable proper readline functionality in virtualenvs or python-build-standalone distributions where libedit is the default.","Restore readline behavior on Python 3.13+ if the new interactive interpreter's reimplementation causes unexpected differences."],"what_it_does":"gnureadline bundles the GNU Readline library and compiles it statically into a Python extension module, providing proper readline support on systems like macOS that ship with libedit instead. It solves the problem that libedit, while mostly compatible, is not fully equivalent to GNU Readline, leading to subtle differences in command-line editing behavior and history handling.\n\nThe package offers two main use patterns: direct import override (try gnureadline first, fall back to readline) for scripts that need explicit readline control, and a site-customization hook via the override_readline script to fix tab completion in the interactive Python shell itself. It has no runtime dependencies and is available as pre-built wheels for Python 3.10\u20133.13 on macOS and Linux.","worth_installing":"Yes, but with conditions. Install if you are on macOS or a POSIX system where Python's readline is actually libedit and you need GNU Readline's full feature set. The GPLv3 copyleft license is a blocker for proprietary software. Medium install friction (compiled wheels) is acceptable for most developers. No known vulnerabilities. Maintenance is aging but stable; the package does one thing well and rarely needs updates."},"id":"gnureadline","links":{"html":"https://skillfed.io/packages/gnureadline","md":"https://skillfed.io/packages/gnureadline.md","pypi":"https://pypi.org/project/gnureadline/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-06","license_spdx":null,"license_treatment":"copyleft","name":"gnureadline","python_support":"unspecified","summary":"The standard Python readline extension statically linked against the GNU readline library."},"popularity":{"monthly_downloads":362372,"position":7233,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"8.3.3"}
