To provide a way for students to work interactively with Jupyter notebooks, with a low entry threshold and a user interface that can be customized with CSS and Javascript, I have implemented the Notebook Player.
The Notebook Player reads a
Jupyter notebook, converts it into a static HTML page using the nbviewer software and replaces
the static images of code cells by linked SageCells which can then be edited
and executed by the student. The resulting single html page can be saved and
hosted anywhere without any further installation.
Besides the Execute mode with active SageCells, the static view, as produced by nbviewer, is retained, as Read mode, in the generated html page. In both modes, code cell input can be hidden on demand.
Since linked SageCells must be executed one after another, the Notebook Player approach is suited only for notebooks with not too many code cells. Large notebooks should be split up, as the Notebook Player provides a method to transfer intermediate results from one notebook to another.
Here is a sample page as generated by the Notebook Player.
This is still experimental; suggestions and error reports are welcome.
--
You received this message because you are subscribed to the Google Groups "sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/02ac4c19-858b-4d59-973e-85587edb9d4dn%40googlegroups.com.