Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fusetim/jupyter-mp2i

Jupyter environment for MP2I (including C, Python and OCaml kernels)
https://github.com/fusetim/jupyter-mp2i

bash c ckernel container cpge docker informatique ipython jupyter jupyterwith kernel mp2i nix nix-shell nixos notebook ocaml ocaml-kernel python teaching

Last synced: about 1 month ago
JSON representation

Jupyter environment for MP2I (including C, Python and OCaml kernels)

Awesome Lists containing this project

README

        

= Jupyter-MP2I

[abstract]
A simple jupyter environment for MP2I for Nix and Docker.

=== Include

* [x] OCaml kernel:
- [x] ocaml-jupyter
- [x] ocaml-jupyter-kernel
- [ ] archimedes
* [x] Python kernel:
- [x] iPython kernel
- [x] numpy
- [x] matplotlib
* [x] C Kernel:
- [x] libcue
* [ ] Bash kernel (working on it)
* Other helpers:
- pandoc

=== Usage

==== with Docker

* Using a prebuilt docker image:
```shell
$ docker run -p 8888:8888 -it ghcr.io/fusetim/jupyter-mp2i:latest
```

* Build your own docker image:
```shell
$ git clone https://github.com/fusetim/jupyter-mp2i
$ cd jupyter-mp2i
$ nix-build docker.nix
$ docker load < result
$ docker run -p 8888:8888 -it jupyter-mp2i:
```

==== with Nix-shell

bash like:
```shell
$ nix-shell $(nix-prefetch-url https://raw.githubusercontent.com/fusetim/jupyter-mp2i/main/shell.nix)
```
fish like:
```shell
$ nix-shell (nix-prefetch-url https://raw.githubusercontent.com/fusetim/jupyter-mp2i/main/shell.nix) # fish like
```
== Licenses

Licensed under both the MIT license and the Apache License, Version 2.0.