Skip to main content

Jupyter Notebook Contents Manager for AWS S3

Project description

Jupyter S3

Jupyter Notebook Contents Manager for AWS S3.

Installation

pip install jupyters3

Configuration

To configure Jupyter Notebook to use JupterS3, you can add the following to your notebook config file.

from jupters3 import JupyterS3
c = get_config()
c.NotebookApp.contents_manager_class = JupyterS3

You must also set the following settings on c.JupyterS3 in your config file. None of them are optional.

Setting Description Example
aws_region The AWS region in which the bucket is located 'eu-west-1'
aws_host The hostname of the AWS S3 API. Typically, this is of the form <bucket-name>.s3.<aws-region>.amazonaws.com. 'my-example-bucket.s3.eu-west-1.amazonaws.com'
aws_access_key_id The ID of the AWS access key used to sign the requests to the AWS S3 API. ommitted
aws_secret_access_key The secret part of the AWS access key used to sign the requests to the AWS S3 API. ommitted
prefix The prefix to all keys used to store notebooks and checkpoints. This can be the empty string ''. If non-empty, typically this would end in a forward slash /. 'some-prefix/'

Differences from S3Contents

  • There are no extra dependencies over those already required for Jupyter Notebook. Specifically, there is not a virtual filesystem abstraction used internally.

  • Checkpoints are also saved to S3, under the path <file_name>__CHECKPOINTS__/.

  • Multiple checkpoints are saved.

  • Requests to S3 are host-style, using a custom domain for the bucket, rather that path-style.

  • AWS roles are not supported, although this may change.

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

jupyters3-0.0.6.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyters3-0.0.6-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file jupyters3-0.0.6.tar.gz.

File metadata

  • Download URL: jupyters3-0.0.6.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for jupyters3-0.0.6.tar.gz
Algorithm Hash digest
SHA256 400840c74c02aaf8defbf6e61c65dfb9f8dd536eb7f62c7eafcfd3b98d8a3d71
MD5 8429bb5957e3bd6849340ecffec8c079
BLAKE2b-256 57fa0d3e0c691eb51d81dcd1bfc4df3774ab9c830273a6476449e321475575f1

See more details on using hashes here.

File details

Details for the file jupyters3-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: jupyters3-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for jupyters3-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6853aa75ebc7679f8e6b597207ec12a9964cc5cafd1fb3c1f0cec04a0e049442
MD5 2dfe477d840efec6e6becb80fda44d40
BLAKE2b-256 932bc8cf3b1882ff700be54d35eee8200981f51dc61fd093b2797fdff9db0344

See more details on using hashes here.

Supported by

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