Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 897 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 897 Bytes

A Jupyter kernel for ngn/k

NOTE: This is alpha quality at best.

This is a jupyter kernel for ngn/k, derived from the bash_kernel.

To use the kernel with docker, see the file README-Docker.md

Install

Ensure that you have a working build of ngn/k. This kernel expects that you have built the k-libc version. Set the environment variable NGNKDIR

export NGNKDIR="/your/path/to/k/dir"

so that the executable can be reached as /your/path/to/k/dir/k-libc.

Now run

`python install.py --sys-prefix`

and start the notebook server

jupyter notebook

For details of how this works, see the Jupyter docs on wrapper kernels, and pexpect's docs on the replwrap module.