Skip to main content

Jupyter contents manager for

Project description

A Jupyter content provider for

This content provider allows users to store and manage their notebooks and files directly on using Jupyter Notebook or Jupyter Lab.

Once enabled, the content provider will allow you to browse and access your entire library, including datasets and projects that you have created, contribute to or have bookmarked.

Quick start


You can install it using pip directly from PyPI:

pip install dwcontents


Find or create a file named under your Jupyter folder (~/.jupyter).

Update it to define two configuration parameters: - NotebookApp.contents_manager_class: Must be set to dwcontents.DwContents - DwContents.dw_auth_token: Must be your API token (obtained at

For example:

import dwcontents
c = get_config()
c.NotebookApp.contents_manager_class = dwcontents.DwContents
c.DwContents.dw_auth_token = 'YOUR TOKEN GOES HERE'

You can also use this to access alongside your local files using dwcontents.HybridContents.

In that case, this is what your might look like:

import dwcontents
from import FileContentsManager
c = get_config()
c.NotebookApp.contents_manager_class = dwcontents.HybridContents
c.HybridContents.manager_classes = {
    # Associate the root directory with
    '': dwcontents.DwContents,
    # Associate /~local with your working directory, completely disconnected from
    '~local': FileContentsManager
c.HybridContents.manager_kwargs = {
    '': {
        'dw_auth_token': 'YOUR TOKEN GOES HERE'


Once installation and configuration are complete, run Jupyter Notebook or Labs like you normally would.

For example:

jupyter notebook

Known Issues

  • Jupyter supports a wide variety of file operations, whereas support for directories on is limited. For a better experience, try to keep a flat file structure under your datasets and projects.

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 dwcontents, version 1.0.0b5
Filename, size File type Python version Upload date Hashes
Filename, size dwcontents-1.0.0b5-py2.py3-none-any.whl (19.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size dwcontents-1.0.0b5.tar.gz (12.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page