mirror of
https://github.com/wassname/pyreadline.git
synced 2026-06-27 16:10:38 +08:00
38 lines
1.3 KiB
ReStructuredText
38 lines
1.3 KiB
ReStructuredText
Pyreadline
|
|
==========
|
|
|
|
A python implementation of GNU readline
|
|
---------------------------------------
|
|
|
|
Pyreadline is a package inspired by GNU readline which aims to improve the
|
|
command line editing experience. In most UNIX based pythons GNU readline is
|
|
available and used by python but on windows this is not the case. A readline
|
|
like python library can also be useful when implementing commandline like
|
|
interfaces in GUIs. The use of pyreadline for anything but the windows
|
|
console is still under development.
|
|
|
|
The pyreadline module does not yet support Python 3.x this will be targeted for the 2.0 version.
|
|
|
|
Version 1.7 will be the last release with compatibility with 2.4 and 2.5. The next
|
|
major release will target 2.6, 2.7 and 3.x. The 1.7 series will only receive bugfixes
|
|
from now on.
|
|
|
|
|
|
Dependencies
|
|
------------
|
|
|
|
* ctypes
|
|
|
|
|
|
Conflicts
|
|
---------
|
|
|
|
Unfortunately the module rlcompleter, the module that provides tab completion, imports readline which means there must be an alias from readline to pyreadline for things to work properly. This means pyreadline install a file under the name readline.py in site-packages containing:
|
|
|
|
.. literalinclude:: ../../readline.py
|
|
|
|
|
|
History
|
|
-------
|
|
The pyreadline package is based on the ctypes based UNC readline package by Gary Bishop.
|