Skip to content

Container for jupyter notebook and handling events inside container

Notifications You must be signed in to change notification settings

mercury-app/container

Repository files navigation

Mercury container

Container for handling events inside mercury node containers.

Usage

Build docker image

docker build . -t jupyter-mercury:latest

The interaction with this is done via python cli as this will usually be called using docker exec commands.

  1. Create a new notebook inside container.
python3 -m container.cli create-notebook --name Untitled.ipynb
  1. Execute code inside the running jupyter kernel of the container.
python3 -m container.cli execute-code --code "a+b"

The code is run inside the already running jupyter kernel so it can-

  • Access all objects created in the running kernel.
  • Create new objects inside the running kernel/

About

Container for jupyter notebook and handling events inside container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published