Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

fusetim/jupyter-mp2i

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter-MP2I

A simple jupyter environment for MP2I for Nix and Docker.

Include

  • ✓ OCaml kernel:

    • ✓ ocaml-jupyter

    • ✓ ocaml-jupyter-kernel

    • ❏ archimedes

  • ✓ Python kernel:

    • ✓ iPython kernel

    • ✓ numpy

    • ✓ matplotlib

  • ✓ C Kernel:

    • ✓ libcue

  • ❏ Bash kernel (working on it)

  • Other helpers:

    • pandoc

Usage

with Docker

  • Using a prebuilt docker image:

$ docker run -p 8888:8888 -it ghcr.io/fusetim/jupyter-mp2i:latest
  • Build your own docker image:

$ 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:<nix-hash>

with Nix-shell

bash like:

$ nix-shell $(nix-prefetch-url https://raw.githubusercontent.com/fusetim/jupyter-mp2i/main/shell.nix)

fish like:

$ 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.