Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
A notebook manager that uses the local file system for storage.
Authors:
Bases: IPython.html.services.notebooks.nbmanager.NotebookManager
Create a checkpoint from the current state of a notebook
delete a notebook’s checkpoint
Delete notebook by name and path.
construct the info dict for a given checkpoint
find the path to a checkpoint
Get the directory model given a directory name and its API style path
Takes a path and name for a notebook and returns its model
Parameters: | name : str
path : str
|
---|---|
Returns: | model : dict
|
List all notebook names in the notebook dir and path.
Does the API style path correspond to a hidden directory or file?
Parameters: | path : string
|
---|---|
Returns: | exists : bool
|
list the checkpoints for a given notebook
This notebook manager currently only supports one checkpoint per notebook.
List the directories for a given API style path.
Returns a list of dictionaries that are the standard model for all notebooks in the relative ‘path’.
Parameters: | path : str
|
---|---|
Returns: | notebooks : list of dicts
|
Returns a True if the notebook exists. Else, returns False.
Parameters: | name : string
path : string
|
---|---|
Returns: | bool |
Does the API-style path (directory) actually exist?
Parameters: | path : string
|
---|---|
Returns: | exists : bool
|
Rename a notebook.
restore a notebook to a checkpointed state
Save the notebook model and return the model with no content.
Update the notebook’s path and/or name