All Projects → spelufo → Iracket

spelufo / Iracket

An ipython/jupyter kernel for racket. INACTIVE.

Programming Languages

racket
414 projects

iracket

Work in progress. Racket kernel for jupyter notebooks.

How to install and run

# dependencies:
# Install zeromq 3.2.5 (4.* didn't work with the racket bindings for me.)
raco pkg install zeromq
raco pkg install libuuid
raco pkg install grommet # for authentication, not used yet
pip install jupyter # I get version 4.0.4

# install the kernelspec
mkdir -p "$JUPYTER_CONFIG_DIR/kernels/racket/"
cp kernel.json "$JUPYTER_CONFIG_DIR/kernels/racket/"
edit "$JUPYTER_CONFIG_DIR/kernels/racket/kernel.json" # changing "./iracket.rkt" to where you put the file.

# run it with

jupyter console --Session.key="b''" --kernel racket

# or

jupyter notebook --Session.key="b''" --kernel racket

Useful resources

Notes

  • The messages must be multipart.
  • ZMQ will block the entire thread, so we put the heartbeat socket in a differnt place.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].