Skip to main content

Jupyter contents manager for data.world

Project description

A Jupyter content provider for data.world.

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

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

Quick start

Install

You can install it using pip directly from PyPI:

pip install dwcontents

Configure

Find or create a file named jupyter_notebook_config.py 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 data.world API token (obtained at https://data.world/settings/advanced)

For example:

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

Run

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 data.world 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.

Source Distribution

dwcontents-1.0.0b2.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

dwcontents-1.0.0b2-py2.py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 2 Python 3

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