Skip to content

reznikmm/jupyter

Repository files navigation

Jupyter Kernel and Client API in Ada

Copr build status

This is repositoru contains Jupyter Client API binding and Ada Kernel written in Ada.

Install

From GitHub release

Download the latest release and unzip it in some directory. Move kernel.json into $HOME/.local/share/jupyter/kernels/ada/kernel.json, then edit it by replacing .bin with the directory where ada_kernel is. You can also export JUPYTER_PATH to help IDE find kernel.json:

export JUPYTER_PATH=$HOME/.local/share/jupyter

Using alire

alr get --build jupyter_kernel
cd jupyter_kernel*
JUPYTER_PATH=$PWD jupyter-notebook --debug

Build from sources

Unpack source and run make.

Dependencies

It depends on

For now the Ada Kernel runs on Linux and Mac OS X (not tested) only, because it uses dlopen to load shared libraries.

Usage

Run make to build the library and examples. Then run jupyter-notebook:

JUPYTER_PATH=$PWD jupyter-notebook --debug

Now you can open a notebook file, for example tests/Hello_Ada.ipynb. If you are going to use alr make sure to build projects as shared libraries.

Related works

Maintainer

@MaximReznik.

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Maxim Reznik