A fancy Hy REPL.
Project description
🦑 hy-fancy-repl
A Hy enhanced REPL.
Probably compatible with Hy 1.1.0 and later.
Install
$ pip install -U hy-fancy-repl
The REPL
The REPL implements multi-line editing, completion, live input validation, live syntax highlighting, and interactive matplotlib plots.
$ hy-repl
or
$ hy-fancy-repl
The behaviour of the repl may be modified with the following environment variables.
HY_HISTORY: Path to a file for storing command history. Defaults to~/.hy-history.HY_LIVE_COMPLETION: If set, enables live/interactive autocompletion in a dropdown menu as you type. Defaults to off.HY_PYGMENTS_STYLE: The name of a pygments style to use for highlighting. Defaults tolightbulb.HY_VI_MODE: If set, enable vi line-editing mode (rather than the default emacs mode).
Acknowledgements
The REPL uses pygments and prompt-toolkit.
Plus, of course, Hy, whose REPL hy-fancy-repl extends.
Docs
Try clicking below.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hy_fancy_repl-1.1.0.tar.gz.
File metadata
- Download URL: hy_fancy_repl-1.1.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1ecc0ea291c464b6c9e5d0488c7680a6eca9b7c8bc42f6f9396effe9951a9af
|
|
| MD5 |
6410e4d0e621d4f52f09a50548eef7d8
|
|
| BLAKE2b-256 |
8cb886af0e54d2ade67bdbc2f46d53700225fe0187ec67d12d26c8d36fd63730
|
File details
Details for the file hy_fancy_repl-1.1.0-py3-none-any.whl.
File metadata
- Download URL: hy_fancy_repl-1.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08cf4414e3b8b0145161d671d156e0ad60f7cd325c98c4e8a27e46b08d4d5735
|
|
| MD5 |
08eb8640ed3c8178a3f8824d3aafac28
|
|
| BLAKE2b-256 |
9950491d6455867c66e9f6ca79772b24f081df25864e04c1bb5dbd93f5c62927
|