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.10.tar.gz (92.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: swancontents-2.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 508b1a091ecdb1fe1d12ae39587b058f71f55cb19ffe39f4243daaa3e8587994
MD5 da0e815b2b41220578df183450325d3c
BLAKE2b-256 90eb5d42e5f7b1993b458e4e27c64ee6a23a341fb6be1d47faeff0ac593abfc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swancontents-2.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb12280a0300adfe4da6eb64722c603f7f787d1682a722666744b8e703b9dcd
MD5 172889d37ecb033f924da86d98c20145
BLAKE2b-256 b9b7e344e94eedb733e3947a2a931abf99e03df1ab9230ec6b53616816c13e90

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