Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

rlipython

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.

Try it out

You can try out rlipython like this:

ipython --TerminalIPythonApp.interactive_shell_class=rlipython.TerminalInteractiveShell

Do I have to do that every time?

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.

Removal

import rlipython; rlipython.uninstall()

Python 2 or Python 3

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.

License

This code has was extracted from IPython 5.x-dev, so it is under IPython’s LICENSE.

Release files for rlipython 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rlipython 0.1.2
File Size Uploaded
rlipython-0.1.2.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rlipython 0.1.2
File Interpreter ABI Platform
rlipython-0.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 29.4 kB

Release files / rlipython-0.1.2.tar.gz

Download URL rlipython-0.1.2.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0b01a8fbbab0aeaa30790ff9f8aab20888a383f3d39b7ca026dc1c2f6b8d1c88
BLAKE2b-256 checksum
How to use checksums
d1e3327b49d85c22b512adc00e2709bf18740b20e311b63eade967fb48a98586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rlipython-0.1.2-py2.py3-none-any.whl

Download URL rlipython-0.1.2-py2.py3-none-any.whl
Size 15.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6c0b7c5d8e9dacfb13494a3a5cd80c96dcd5116f88439cc36bc6613b7516ac1a
BLAKE2b-256 checksum
How to use checksums
825632cddd1839696cca3bcc2a66164392d953bcdef3542cc4a93cbd759d837e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page