Skip to main content

Save and load notebooks to local-storage

Project description

Jupyter Offline Notebook

Binder

Save and load notebooks to local-storage, even if you've lost your connection to the server.

Installation

pip install jupyter-offlinenotebook

This should automatically enable the extension. If it is not listed in jupyter nbextension list install and enable it:

jupyter nbextension install --py jupyter_offlinenotebook --sys-prefix
jupyter nbextension enable --py jupyter_offlinenotebook --sys-prefix

Usage

Offline notebook buttons

There are three new icons to:

  • download the in-memory (browser) state of the notebook
  • save the in-memory state of the notebook to local-storage
  • load a notebook from local-storage

Saving and loading uses the path of the current notebook

See example.ipynb

WARNING

This extension is still in development. It is only tested on Firefox.

There are several major limitations including:

  • There are no error messages, you must open the Javascript console to check whether save/load has worked.
  • The size of downloaded notebooks is limited by the browser.
  • Only the path of the notebook within Jupyter Notebook is used. If you have multiple notebook environments on the same domain the notebooks may have the same path.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter-offlinenotebook-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file jupyter-offlinenotebook-0.0.2.tar.gz.

File metadata

  • Download URL: jupyter-offlinenotebook-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for jupyter-offlinenotebook-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1d02c26f5413bf5ba15486908a12a968fa783ff7811ec422c35149b9c16da77a
MD5 dfe9b9e789d5e5e3174f31fbcaba9daf
BLAKE2b-256 1e587d78ae81448b48a601c4de6322729dfe6038a9d7e0a530068fff10453015

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page