Skip to main content

A minimal Hy utility library, using mostly the standard libraries.

Project description

🦑 Hyjinx

Some Hy convenience things. Compatible with Hy 0.28.0.

Hylights

  • REPL syntax highlighting (put (import hyjinx.source [hylight]) (setv repl-output-fn hylight) in your .hyrc)
  • pretty tracebacks with correct syntax highlighting for hy or python
  • print/get/edit source code of a function, module etc.
  • defmethod (if multimethod is installed)
  • numpy array pretty printing
  • a zmq lazy pirate protocol
  • a minimal ncurses class
  • in-repl code analysis and discussion using LLMs

Install

$ pip install -U hyjinx

or, with optional dependencies,

$ pip install -U hyjinx[zmq]
$ pip install -U hyjinx[llm]

To install offline hy/hyrule documentation,

$ hy -m hyjinx.docs

Optional dependencies

You can install with the [zmq] option which also installs ecdsa, pyzmq and zstandard for the zmq server/client

You can install with the [llm] option which also installs openai and lets you discuss code objects with ChatGPT or a locally-served LLM (via TabbyAPI or similar).

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

hyjinx-0.28.14.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

hyjinx-0.28.14-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file hyjinx-0.28.14.tar.gz.

File metadata

  • Download URL: hyjinx-0.28.14.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for hyjinx-0.28.14.tar.gz
Algorithm Hash digest
SHA256 91177272a5518911741506d65cb573c72b8e0ea11977e7eb77d227c88f049368
MD5 de463e5b61e87eee999f472e0b005264
BLAKE2b-256 6f8d2c54f71c926503e8229c0f6200173160b7acd24f007073dbb5c4ccd6c2cd

See more details on using hashes here.

File details

Details for the file hyjinx-0.28.14-py3-none-any.whl.

File metadata

  • Download URL: hyjinx-0.28.14-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for hyjinx-0.28.14-py3-none-any.whl
Algorithm Hash digest
SHA256 b02bd1f4dd4efd369291aa40a3b4bba9b03d22de04eaa2af724ea576c844c680
MD5 a0e316c08536904404bb23d67d00b16a
BLAKE2b-256 9cff9d0f203421a1329d57bbbb498936e3cd4eba77d8624911369a16fe246474

See more details on using hashes here.

Supported by

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