GNU Readline based Python REPL without any external dependencies
Project description
rlpython is a GNU Readline based Python REPL without any external dependencies
Installation
# pip install rlpython
Starting rlpython from the command line
# rlpython
Starting rlpython from Python code
import rlpython
rlpython.embed()
Attach a rlpython shell over network
import rlpython
rlpython.embed(bind='localhost:5000')
# rlpython localhost:5000
Start a multisession shell server
Server
import asyncio
import rlpython
loop = asyncio.get_event_loop()
with rlpython.embed(bind='localhost:5000', multi_session=True):
loop.run_forever()
# rlpython localhost:5000
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlpython-0.8.2.tar.gz
(20.6 kB
view hashes)