Skip to main content

A Hy kernel for Jupyter based on MetaKernel

Project description

# 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).

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

calysto_hy-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

calysto_hy-0.1.1-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file calysto_hy-0.1.1.tar.gz.

File metadata

  • Download URL: calysto_hy-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for calysto_hy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 669a26e6e0ccfb5810d56c699b14a9e64b55cab572ad0ae0a5b84b87438d358c
MD5 3826b925db58be837e2f010a373b22cd
BLAKE2b-256 690165109e8f99408ef1e7c2be366e54e443d19e59f4e67b7ef70d0a5321bc75

See more details on using hashes here.

File details

Details for the file calysto_hy-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: calysto_hy-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for calysto_hy-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8304e777eef49a1fd6566f4dda388a4abad4dbc339b3eda290aac86fd55149f7
MD5 bc0108e1d98f024a3ee3163f7b60caeb
BLAKE2b-256 493de0af6d90370f2dcf8aeb744529bb74313b72eb88e8914ccad23392770c1f

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