Skip to content

A Python module providing a readline API on Windows, using ctypes

Notifications You must be signed in to change notification settings

DJStompZone/pyreadline

This branch is 6 commits ahead of pyreadline/pyreadline:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a575c72 · Oct 18, 2024
Apr 3, 2013
Jun 7, 2024
Jul 8, 2015
Jan 21, 2006
Jul 15, 2010
Apr 3, 2013
Apr 14, 2011
Feb 16, 2012
Apr 9, 2011
Oct 18, 2024
Feb 15, 2012
Jul 14, 2015

Repository files navigation

pyreadline

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.

Version 2.0 runs on Python 2.6, 2.7, and >3.2 using the same code.

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 git repository.

About

A Python module providing a readline API on Windows, using ctypes

Topics

Resources

Stars

Watchers

Forks

Languages

  • Python 99.9%
  • Batchfile 0.1%