brendan-rius/jupyter-c-kernel
关于
精简的 Jupyter C 内核
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Minimal C kernel for Jupyter
Use with Docker (recommended)
docker pull brendanrius/jupyter-c-kerneldocker run -p 8888:8888 brendanrius/jupyter-c-kernel- Copy the given URL containing the token, and browse to it. For instance:
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=66750c80bd0788f6ba15760aadz53beb9a9fb4cf8ac15ce8
Manual installation
Works only on Linux and OS X. Windows is not supported yet. If you want to use this project on Windows, please use Docker.
- Make sure you have the following requirements installed:
- gcc
- jupyter
- python 3
- pip
Step-by-step:
pip install jupyter-c-kernelinstall_c_kerneljupyter-notebook. Enjoy!
Example of notebook

Custom compilation flags
You can use custom compilation flags like so:

Here, the -lm flag is passed so you can use the math library.
Contributing
The docker image installs the kernel in editable mode, meaning that you can change the code in real-time in Docker. For that, just run the docker box like that:
git clone https://github.com/brendan-rius/jupyter-c-kernel.git
cd jupyter-c-kernel
docker run -v $(pwd):/jupyter/jupyter_c_kernel/ -p 8888:8888 brendanrius/jupyter-c-kernel
This clones the source, run the kernel, and binds the current folder (the one you just cloned) to the corresponding folder in Docker. Now, if you change the source, it will be reflected in http://localhost:8888 instantly. Do not forget to click "restart" the kernel on the page as it does not auto-restart.
License
探索相关项目
加载中…