Skip to main content

GNU readline support for Python on platforms without readline.

Project description

Some platforms, such as Mac OS X, do not ship with GNU readline installed. The readline extension module in the standard library of Mac ‘system’ Python uses NetBSD’s editline (libedit) library instead, which is a readline replacement with a less restrictive software license.

As the alternatives to GNU readline do not have fully equivalent functionality, it is useful to add proper readline support to these platforms. This module achieves this by bundling the standard Python readline module with the GNU readline source code, which is compiled and statically linked to it. The end result is an egg which is simple to install, with no extra shared libraries required.

The 2.6.1 version of this module is intended for use on Mac OS 10.6 (Snow Leopard), which ships with Python 2.6.1. It should also work on Tiger and Leopard with Python 2.5, and may even work on Linux. It is built against GNU readline 6.0 with the latest patches.

This module is completely unnecessary on Linux and other Unix systems with default readline support. If you are using Windows, which also ships without GNU readline, you might want to consider using the pyreadline module instead, which is a readline replacement written in pure Python that interacts with the Windows clipboard.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for readline, version 2.6.1
Filename, size File type Python version Upload date Hashes
Filename, size readline-2.6.1-py2.5-macosx-10.5-i386.egg (379.3 kB) File type Egg Python version 2.5 Upload date Hashes View
Filename, size readline-2.6.1-py2.5-macosx-10.5-ppc64.egg (379.3 kB) File type Egg Python version 2.5 Upload date Hashes View
Filename, size readline-2.6.1-py2.5-macosx-10.5-ppc.egg (379.3 kB) File type Egg Python version 2.5 Upload date Hashes View
Filename, size readline-2.6.1-py2.5-macosx-10.5-x86_64.egg (379.3 kB) File type Egg Python version 2.5 Upload date Hashes View
Filename, size readline-2.6.1-py2.6-macosx-10.6-universal.egg (302.1 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size readline-2.6.1.tar.gz (2.3 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page