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.2.tar.gz
(21.4 kB
view hashes)
Built Distribution
rlpython-0.10.2-py3-none-any.whl
(31.0 kB
view hashes)
Close
Hashes for rlpython-0.10.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd77ab030c56995f38d1325274f274d16e2f3892bc2bb6e0bda688b6d9191bf |
|
MD5 | 825a44759ba542d2814e4c7a4ff815d9 |
|
BLAKE2b-256 | 491dce1f09e1bbce53645ec97aa0eb1f81eb9d285125d08470482ef2f60bcd83 |