A notebook manager that uses the local file system for storage.
Create a checkpoint from the current state of a notebook
delete a notebook’s checkpoint
Delete notebook by notebook_id.
Delete a notebook’s id in the mapping.
construct the info dict for a given checkpoint
find the path to a checkpoint
Return a full path to a notebook checkpoint, given its name and checkpoint id.
get a notebook name, raising 404 if not found
List all notebook names in the notebook dir.
Return a full path to a notebook given its notebook_id.
Return a full path to a notebook given its name.
Return a non-used filename of the form basename<int>.
This searches through the filenames (basename0, basename1, ...) until is find one that is not already being used. It is used to create Untitled and Copy names that are unique.
list the checkpoints for a given notebook
This notebook manager currently only supports one checkpoint per notebook.
List all notebooks in the notebook dir.
Generate a new notebook_id for a name and store its mappings.
Does a notebook exist?
Get the Notebook representation of a notebook by notebook_id.
read a notebook object from a path
restore a notebook to a checkpointed state
Save an existing notebook object by notebook_id.