Project: pyreadline

A python implmementation of GNU readline.

Project Details

Latest version
2.1
Home Page
http://ipython.org/pyreadline.html
PyPI Page
https://pypi.org/project/pyreadline/

Project Popularity

PageRank
0.0031741690736679672
Number of downloads
324913

The pyreadline package is a python implementation of GNU readline functionality it is based on the ctypes based UNC readline package by Gary Bishop. It is not complete. It has been tested for use with windows 2000 and windows xp.

  • pyreadline 2.1 <2015-09-16>

    This is a bugfix release to make pyreadline work with python 3.5.

    Contributors to this release:

    • Jörgen Stenarson, maintainer
    • kivhift, improved error message for running on non windows platforms
    • zooba, made helpful suggestions to make it work for python 3.5

    Version 2.1 of pyreadline has been verfied for Python 2.7, and 3.4, 3.5.

Features:

  • keyboard text selection and copy/paste
  • Shift-arrowkeys for text selection
  • Control-c can be used for copy activate with allow_ctrl_c(True) in config file
  • Double tapping ctrl-c will raise a KeyboardInterrupt, use ctrl_c_tap_time_interval(x) where x is your preferred tap time window, default 0.3 s.
  • paste pastes first line of content on clipboard.
  • ipython_paste, pastes tab-separated data as list of lists or numpy array if all data is numeric
  • paste_mulitline_code pastes multi line code, removing any empty lines.

The latest development version is always available at the IPython github repository_.

.. _repository: https://github.com/pyreadline/pyreadline.git