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.10.1.tar.gz
(14.2 kB
view hashes)
Built Distribution
rlpython-0.10.1-py3-none-any.whl
(17.6 kB
view hashes)
Close
Hashes for rlpython-0.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7128ec9dc729c5151f24dd3d80a03565367f2cc54ea1d72ddc49fcd974e4c0b1 |
|
MD5 | abd096ecfdde2a3904a04544c09c7c52 |
|
BLAKE2b-256 | 9925a900b776d31e8c4e8823411f74a17c8a814df9c95d244cf949327a03035c |