readline integration for IPython 5.4+ and 6.0+
Up until version 4.2, command-line IPython had a readline frontend, which was replaced by prompt_toolkit in IPython 5. rlipython brings that classic readline functionality to IPython 5.4+ and 6.0+.
See https://github.com/ipython/ipython/issues/10364 for information.
You can try out rlipython like this:
No. To have rlipython enabled automatically, do this:
import rlipython; rlipython.install()
This will enable rlipython for the default IPython profile if you run it using plain python or the active profile if you run it from ipython.
After running rlipyton.install(), you can go back to starting IPython just by using ipython without the extra configuration flag.
import rlipython; rlipython.uninstall()
rlipython will work in both Python 2 and Python 3. However, as of May 15th, 2017, IPython 6.0 is the only released version of IPython which supports a configurable interactive_shell_class, but IPython 6.0 only works in Python 3. So if you want to use rlipython in Python 2, you will have to install the IPython 5.x branch from git, or wait for IPython 5.4 release.
This code has was extracted from IPython 5.x-dev, so it is under IPython’s LICENSE.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|rlipython-0.1.2-py2.py3-none-any.whl (15.8 kB) Copy SHA256 Checksum SHA256||3.6||Wheel||May 31, 2017|
|rlipython-0.1.2.tar.gz (13.6 kB) Copy SHA256 Checksum SHA256||–||Source||May 31, 2017|