Server and NB extension that provides:
- SWAN Projects (including readme preview)
- EOS integration (versioning and atomic save)
- git download
- SWAN style in a form of Jupyter Notebook templates
Besides Jupyter, this extension requires that the user home is set inside EOS.
Install the package and the nbextension:
pip install swancontentsTo replace the default Jupyter Contents Manager (including its Javascript library) and the templates, in the Jupyter Notebook configuration (i.e in jupyter_notebook_config.py), set the following:
c.ServerApp.contents_manager_class = "swancontents.filemanager.SwanEosFileManager"Note: EOSCheckpoints is set by default as checkpoints_class when using SwanEosFileManager.