Literate Computing Tools are our enhancements to Jupyter for achieving the following goals:
- Giving awareness where you are; the cells are colored depending on their statuses. You can see how an operation is in progress and whether it has been succeeded. Light Cyan, Linen, and Pink represent “running”, “finished successfully” and “finished with errors” respectively.
- Preventing miss-operation; once a cell has been executed, it “freezes” against unintended execution. Frozen cells will not be executed nor edited until those will be unfrozen.
- A good operational outlook; as an enhancement for collapsible headings, collapsed code cells underneath are represented as bricks. The number of bricks represents operational complexities. Plus, you can run through whole bricks (collapsed code cells) with one click as a routine procedure. Color changes of bricks also represent the progress.
- Assure traceability; infrastructure operation can generate massive output lines. LC_wrapper kernel summarizes output lines, and simultaneously all original output lines are saved into an individual file with a timestamp at each execution. You can investigate the total output and compare it with previous results for reviewing.
Try the Demo
A Docker Image containing all our tools is available in the Jupyter-LC_docker repository. You can start the Notebook server on port 8888 with the following command.
docker run -it --rm -p 8888:8888 niicloudoperation/notebook:latest
You can login the Notebook server with the authentication token in the startup message.