https://github.com/calysto/calysto_hy
Calysto Hy, a Jupyter kernel for Hy using MetaKernel
https://github.com/calysto/calysto_hy
Last synced: about 1 year ago
JSON representation
Calysto Hy, a Jupyter kernel for Hy using MetaKernel
- Host: GitHub
- URL: https://github.com/calysto/calysto_hy
- Owner: Calysto
- License: other
- Created: 2016-09-20T11:15:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T13:41:43.000Z (almost 3 years ago)
- Last Synced: 2025-04-30T07:06:00.919Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 47.9 KB
- Stars: 107
- Watchers: 9
- Forks: 20
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# Calysto Hy
Calysto Hy is a Hy kernel for Jupyter based on [Metakernel](https://github.com/Calysto/metakernel). [Hy is a language](https://github.com/hylang/hy) that converts Lisp-like syntax to Python semantics.
This kernel is based on [bollwyvl/hy_kernel/](https://github.com/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](https://github.com/ekaschalk/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.
```shell
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:
```shell
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:
```shell
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:
```shell
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
```shell
jupyter console --kernel calysto_hy
```
You can use Calysto Hy in Jupyter notebook by selecting the "Calysto Hy" kernel. See example [notebooks](https://github.com/Calysto/calysto_hy/tree/master/notebooks).