Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wilberquito/xeus-cpp-kernel
Harnessing the Power of C++ in Jupyter Notebooks with Xeus Cling
https://github.com/wilberquito/xeus-cpp-kernel
cpp docker-image notebook
Last synced: 16 days ago
JSON representation
Harnessing the Power of C++ in Jupyter Notebooks with Xeus Cling
- Host: GitHub
- URL: https://github.com/wilberquito/xeus-cpp-kernel
- Owner: wilberquito
- License: apache-2.0
- Created: 2024-08-13T14:34:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T22:08:58.000Z (3 months ago)
- Last Synced: 2024-10-10T22:23:28.360Z (about 1 month ago)
- Topics: cpp, docker-image, notebook
- Language: Dockerfile
- Homepage: https://wilberquito.github.io/posts/harnessing-the-power-of-cpp-in-jupyter-notebooks-with-xeus-cling
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Harnessing the Power of C++ in Jupyter Notebooks with Xeus Cling
![Preview](./preview-xeus-notebook.png)
In this README you will find the instructions
to build the images and create a running container.You also have a notebook example to interact with the
notebook running inside the container and the differents
C++ kernels.If you want to know more how it works you can read
this interesting [post](https://blog.jupyter.org/interactive-workflows-for-c-with-jupyter-fe9b54227d92).### Build image
```
docker build -t .
```### Run image
_**hide logs (detached container's shell)**_
```
docker run -dp 127.0.0.1:8888:8888 -v $(pwd)/notebooks:/cpp/notebooks --name
```_**print logs (attached container's shell)**_
```
docker run -p 127.0.0.1:8888:8888 -v $(pwd)/notebooks:/cpp/notebooks --name
```