jupyter-c-kernel/README.md

29 lines
763 B
Markdown
Raw Normal View History

2016-03-25 11:50:40 +00:00
# Minimal C kernel for Jupyter
## Use with Docker (recommended)
2016-03-26 15:39:37 +00:00
* `docker pull brendanrius/jupyter-c-kernel`
* `docker run -d -p 8888:8888 brendanrius/jupyter-c-kernel`
* Go to [http://localhost:8888](http://localhost:8888) (or your VM address if you are using Docker Machine)
## Manual installation
2016-04-18 19:53:50 -07:00
* Make sure you have the following requirements installed:
* gcc
* jupyter
* python
* pip
2016-03-25 11:50:40 +00:00
* `git clone git@github.com:brendan-rius/jupyter-c-kernel.git`
2016-03-26 14:56:17 +00:00
* `pip install jupyter-c-kernel`
2016-03-25 11:50:40 +00:00
* `cd jupyter-c-kernel`
* `jupyter-kernelspec install c_spec/`
2016-03-25 11:50:40 +00:00
## Usage
2016-03-25 14:34:14 +00:00
* Open the example notebook: `jupyter-notebook example-notebook.ipynb`
2016-03-25 11:50:40 +00:00
* Enjoy!
2016-03-25 14:34:14 +00:00
## Example of notebook
![Example of notebook](example-notebook.png?raw=true "Example of notebook")