Skip to main content

A fancy Hy REPL.

Project description

🦑 hy-fancy-repl

A Hy enhanced REPL.

Probably compatible with Hy 1.2.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.2.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.2.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file hy_fancy_repl-1.2.0.tar.gz.

File metadata

  • Download URL: hy_fancy_repl-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 7d4a21f47349e8510dd2b45481afe70dd4b08266fdf4adc4df9d0d23cca92036
MD5 b17e0f971da7da30c73f14339879452c
BLAKE2b-256 80cc8327939331acc422c8b35cb175eaf113e143dfd0e3c5db947f3963f2587b

See more details on using hashes here.

File details

Details for the file hy_fancy_repl-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: hy_fancy_repl-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 172b195d5f2259ad4f6584b5070f1997aa6873b324ce43bbb925d6779c7a0db9
MD5 3bd2a4ac9ba69934b4469dcfc6e8be35
BLAKE2b-256 5403f8a48701c55caef2511c71f21395def27f2b78144d5794eada70ed8868ae

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