Notebook¶
-
class
neptune.notebook.
Notebook
(backend, project, _id, owner)[source]¶ Bases:
object
It contains all the information about a Neptune Notebook
- Parameters
backend (
Backend
) – A Backend objectproject (
Project
) – Project object_id (
str
) – Notebook uuidowner (
str
) – Creator of the notebook is the Notebook owner
Examples
# Create a notebook in Neptune. notebook = project.create_notebook('data_exploration.ipynb')
-
add_checkpoint
(file_path)[source]¶ Uploads new checkpoint of the notebook to Neptune
- Parameters
file_path (
str
) – File path containing notebook contents
Example
# Create a notebook. notebook = project.create_notebook('file.ipynb') # Change content in your notebook & save it # Upload new checkpoint notebook.add_checkpoint('file.ipynb')