Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In response to the popularity of Jupyter notebooks and the ease of combining run-able code and documentation in one interface that Jupyter provides, Jupyter functionalities have been added to BDFiddle.  In addition to copying the code snippet, a user can download a Jupyter notebook that contains the run-able code that is ready to implement locally (jupyter must be installed) or the user can simply open the notebook as an anonymous user on an NCSA /ISDA multi-user service that utilizes Tmpnb.

Jupyter templates are JSON files that contain both the raw code (runnable) and mark down (documentation). The downloaded file can be immediately opened in a Jupyter notebook by typing “jupyter notebook” in the directory where the file is located

Where Jupyter is available two additional buttons appear below the code snippet.

.

The bottons buttons enable a user to

  • Download the Jupyter file - to use in a local installation of

...

  • Jupyter - The downloaded file can be immediately opened in a Jupyter notebook by typing “jupyter notebook” in the directory where the file is located.
  • Open Jupyter Notebook - the input file and the Jupyter notebook file are posted to the remote NCSA server. 

The server uses Tmpnb (Temporary Notebook) and employs docker containers.   There are two control docker containers and as many notebook containers as needed. 

...