• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    Jupyter Notebook
  • License
    Other
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Calysto Hy, a Jupyter kernel for Hy using MetaKernel

Calysto Hy

Calysto Hy is a Hy kernel for Jupyter based on Metakernel. Hy is a language that converts Lisp-like syntax to Python semantics.

This kernel is based on bollwyvl/hy_kernel/ That kernel treats Hy as a Python preprocessor, and can therefore use the standard IPython tools. Calysto Hy treats Hy as a full language. Because of this, it uses the MetaKernel to gain magics, shell, parallel processing, etc.

Install

If you want to enjoy full code completion by kaschalk/jedhy you have use bleeding edge and install hy master (> 0.13.1), jedhy and toolz first because jedhy is using new hy syntax. Otherwise calysto_hy falls back to is normal completion.

pip3 install git+https://github.com/ekaschalk/jedhy.git
pip3 install git+https://github.com/Calysto/calysto_hy.git
python3 -m calysto_hy install

If installing into the system, you may want to:

sudo pip3 install git+https://github.com/ekaschalk/jedhy.git
sudo pip3 install git+https://github.com/Calysto/calysto_hy.git
sudo python3 -m calysto_hy install

Or into your personal space:

pip3 install git+https://github.com/ekaschalk/jedhy.git --user
pip3 install git+https://github.com/Calysto/calysto_hy.git --user
python3 -m calysto_hy install --user

Or into a virtualenv, when it is already activated:

pip3 install git+https://github.com/ekaschalk/jedhy.git
pip3 install git+https://github.com/Calysto/calysto_hy.git
python3 -m calysto_hy install --sys-prefix

Use

jupyter console --kernel calysto_hy

You can use Calysto Hy in Jupyter notebook by selecting the "Calysto Hy" kernel. See example notebooks.