Skip to main content

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 to lightbulb.
  • 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.

Ask DeepWiki

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hy_fancy_repl-1.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hy_fancy_repl-1.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

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

Hashes for hy_fancy_repl-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a1ecc0ea291c464b6c9e5d0488c7680a6eca9b7c8bc42f6f9396effe9951a9af
MD5 6410e4d0e621d4f52f09a50548eef7d8
BLAKE2b-256 8cb886af0e54d2ade67bdbc2f46d53700225fe0187ec67d12d26c8d36fd63730

See more details on using hashes here.

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

Hashes for hy_fancy_repl-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08cf4414e3b8b0145161d671d156e0ad60f7cd325c98c4e8a27e46b08d4d5735
MD5 08eb8640ed3c8178a3f8824d3aafac28
BLAKE2b-256 9950491d6455867c66e9f6ca79772b24f081df25864e04c1bb5dbd93f5c62927

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page