Skip to main content

SWAN Contents Manager for Jupyter

Project description

SwanContents

Server and NB extension that provides:

  • SWAN Projects (including readme preview)
  • EOS integration (versioning and atomic save)
  • git download
  • SWAN style in a form of Jupyter Notebook templates

This module also installs a lab extension that adds links throughout the UI to switch between the Lab and the old UI.

Requirements

Besides Jupyter, this extension requires that the user home is set inside EOS.

Install

Install the package and the nbextension:

pip install swancontents

To replace the default Jupyter Contents Manager (including its Javascript library) and the templates, in the Jupyter Notebook configuration (i.e in jupyter_notebook_config.py), set the following:

c.ServerApp.contents_manager_class = 'swancontents.filemanager.SwanEosFileManager'

Note: EOSCheckpoints is set by default as checkpoints_class when using SwanEosFileManager.

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

swancontents-2.1.9.tar.gz (92.9 kB view details)

Uploaded Source

Built Distribution

swancontents-2.1.9-py3-none-any.whl (126.6 kB view details)

Uploaded Python 3

File details

Details for the file swancontents-2.1.9.tar.gz.

File metadata

  • Download URL: swancontents-2.1.9.tar.gz
  • Upload date:
  • Size: 92.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for swancontents-2.1.9.tar.gz
Algorithm Hash digest
SHA256 b8caf2ca85dfa888e38dffa145794812381abfe572b213bc8fcc2a7625460251
MD5 53d8168734be27b3de5f4632be1e352e
BLAKE2b-256 8bf4b667c47c92fcb81ce0565f863bacab2b2e362cd5cad6fa956a35b10c36e3

See more details on using hashes here.

File details

Details for the file swancontents-2.1.9-py3-none-any.whl.

File metadata

  • Download URL: swancontents-2.1.9-py3-none-any.whl
  • Upload date:
  • Size: 126.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for swancontents-2.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 389e1dbd4d5a8cfeb73afd5566eddc91840186665eea48f07ae772f97c2ab2dd
MD5 6913ff2a2d2a6e6355e553cfd2b869c8
BLAKE2b-256 0a18ff0c53f327f99c9af262ed5f3d637f4f9e337d2b1e7acb34378cda47d784

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