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
Metadata
Release files for pyrepl 0.11.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrepl-0.11.5.tar.gz | 51.9 kB | Without provenance | Details for pyrepl-0.11.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrepl-0.11.5-py3-none-any.whl | Python 3 | none | any | Details for pyrepl-0.11.5-py3-none-any.whl |
Total release size: 107.4 kB
Release files / pyrepl-0.11.5.tar.gz
| Download URL | pyrepl-0.11.5.tar.gz |
|---|---|
| Size | 51.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca5ac139835636005bed2bb0b6e2168de31a093e03a5b95edccbdbb7ca69b6fc
|
|
BLAKE2b-256 checksum How to use checksums |
fdaf7d1d9fb380a05566a330626198d0336a7f7c0153f1470e9e58b3a5484360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pyrepl-0.11.5-py3-none-any.whl
| Download URL | pyrepl-0.11.5-py3-none-any.whl |
|---|---|
| Size | 55.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee3aeb23427c7e8e2abbecf003e59ebc7af331e61e3f6b65c10f6b3962ad1ae7
|
|
BLAKE2b-256 checksum How to use checksums |
cc3879b886bbee79d35063e1fff2c370b46e9ecc2c4c39acef583bc8c2f07d3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for pyrepl 0.11.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.