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

Uploaded Source

Built Distribution

swancontents-2.1.11-py3-none-any.whl (126.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swancontents-2.1.11.tar.gz
  • Upload date:
  • Size: 93.0 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.11.tar.gz
Algorithm Hash digest
SHA256 29e4cda10529157f875e6766cda712636db73162b2832dd141a074d50cb24cae
MD5 3cdec391ad4af2fae4662487fc234266
BLAKE2b-256 d86dc934c1c8e926541139c07a5b63de6cdfcbef7ad8f5fe8ee6dba69df1c82a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swancontents-2.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 123dfcf7a7aa0b6c7d20c37f61fc7c495a593d3623910b9f14efb8685418e1ed
MD5 573db5b83b24ba21fd0870639089234e
BLAKE2b-256 9d92a82a7a83dd9216daec24a48a3512bc107eded9bf4181b6ed27152c6cd0a3

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