Skip to main content

Jupyter Notebook PyFilesystem Contents Manager

Project description

Jupyter Notebook PyFilesystem Contents Manager

Build Status PyPI

A Jupyter Notebooks ContentsManager that uses PyFilesystem for storing files. Includes a compatible Checkpoints class.


pip install jupyter-pyfilesystem


c.NotebookApp.contents_manager_class = 'jupyter_pyfilesystem.FsContentsManager'

# In-memory temporary filesystem
c.FsContentsManager.fs_url = 'mem://'

See for information on how to define fs_url, and for a list of built-in filesystems. There are also several externally-contributed filesystems that can be used. Some are listed on

Note some filesystems may not behave as you expect. For example, the curent implementations of the zip:// and tar:// filesystems do not allow you to update an existing file. You can only create/overwrite an existing file, or open a file read-only.

For example:

c.FsContentsManager.fs_url = 'zip:///tmp/'

import os
if os.path.exists(fs_url[6:]):
    c.FsContentsManager.create = False
    c.FsContentsManager.writeable = False

If you are using a remote filesystem you may want to enable the keepalive. For example, this will make a remote request to get the details of / every 60 seconds:

c.FsContentsManager.keepalive = 60


This repository is based on

Project details

Download files

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

Files for jupyter-pyfilesystem, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size jupyter_pyfilesystem-0.0.5-py3-none-any.whl (15.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jupyter-pyfilesystem-0.0.5.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page