pyrepl 0.11.4
pip install pyrepl
Released:
A library for building flexible command line interfaces
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (MIT X11 style)
- Author: Michael Hudson-Doyle
- Maintainer: bretello
- Tags readline , shell
- Requires: Python >=3.8
-
Provides-Extra:
tests
,dev
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
pyrepl
This is pyrepl
, a readline-a-like in pure Python.
It requires python 3.8 (or newer) and features:
- sane multi-line editing
- history, with incremental search
- completion, including displaying of available options
- a fairly large subset of the readline emacs-mode keybindings (adding more is mostly just a matter of typing)
- a liberal, Python-style, license
- a new python top-level
- no global variables, so you can run two or more independent readers without having their histories interfering.
- no hogging of control -- it should be easy to integrate pyrepl into YOUR application's event loop.
- generally speaking, a much more interactive experience than readline (it's a bit like a cross between readline and emacs's mini-buffer)
There are probably still a few little bugs & misfeatures, but I like it, and use it as my python top-level most of the time.
To get a feel for it, just execute:
python pyrepl/pythoni.py
(One point that may confuse: because the arrow keys are used to move up and down in the command currently being edited, you need to use ^P and ^N to move through the history)
Installation
If you like what you see, you can install it with the familiar
$ pip install pyrepl
which will also install pythoni
script.
Changelog
See CHANGELOG
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (MIT X11 style)
- Author: Michael Hudson-Doyle
- Maintainer: bretello
- Tags readline , shell
- Requires: Python >=3.8
-
Provides-Extra:
tests
,dev
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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
Built Distribution
File details
Details for the file pyrepl-0.11.4.tar.gz
.
File metadata
- Download URL: pyrepl-0.11.4.tar.gz
- Upload date:
- Size: 51.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
efe988b4a6e5eed587e9769dc2269aeec2b6feec2f5d77995ee85b9ad7cf7063
|
|
MD5 |
9c82b723c4d5c7b8a7a06b9245c28d20
|
|
BLAKE2b-256 |
084f7088417e5465c53a30b918d30542aad89352ea0d635a5d077717c69a7d2b
|
File details
Details for the file pyrepl-0.11.4-py3-none-any.whl
.
File metadata
- Download URL: pyrepl-0.11.4-py3-none-any.whl
- Upload date:
- Size: 55.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ac30d6340267a21c39e1b1934f92bca6b8735017d14b17e40f903b2d1563541d
|
|
MD5 |
4f8aa84f95e4c8a2e2d146cb7dffd6b5
|
|
BLAKE2b-256 |
bda5ce97a778f096aaa27cfcb7ad09f1198cf73277dcab6c68a4b8f332d91e48
|