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

Uploaded Source

Built Distribution

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

swancontents-2.1.15-py3-none-any.whl (126.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swancontents-2.1.15.tar.gz
  • Upload date:
  • Size: 93.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for swancontents-2.1.15.tar.gz
Algorithm Hash digest
SHA256 be553c825b40b3b98ef9b97eb8e2f63468b5af2701f57e81e1d35c0600a02095
MD5 7e8be3bf9b4a3207f0edb96cbcb7d9de
BLAKE2b-256 47d3f44526525640cecc1a5e2a14d93b97ee34ab98fbe4b5fdd5388eea8374c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swancontents-2.1.15-py3-none-any.whl
  • Upload date:
  • Size: 126.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for swancontents-2.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 09b96b33ea00c17f134cf63e7309464f7406056c596cf30a4d3d5607ae246678
MD5 d1f6585807be949a44f43a6eabefc80e
BLAKE2b-256 9ae67cd3963555718fe934acb01291ff7cf7248432d46d78dadedc0e307e281c

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