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.13.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

hyjinx-0.28.13-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hyjinx-0.28.13.tar.gz
  • Upload date:
  • Size: 19.0 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.13.tar.gz
Algorithm Hash digest
SHA256 65d2474d1710bd8727e1eb37439c238f0e07e7af5dffa3074524b2382efc0785
MD5 5e8e29c0988562b4d72acfba5aad576d
BLAKE2b-256 111704db06730ae83566e5006107c32b4e9816f9dfe3094d10791d92f0aa85d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hyjinx-0.28.13-py3-none-any.whl
  • Upload date:
  • Size: 21.9 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 74a1cc5c51994cc1c263a7fef0549f1a9cb991e762ecad5f7c250d16a3bea392
MD5 fcefa3b03f5ad1eb066d77e2d6413797
BLAKE2b-256 e793d7a067d7ebb8a67174a6a10d1025eee218eac0efccd2fc64b7e7585ef9fe

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