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.14.tar.gz (92.7 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.14-py3-none-any.whl (126.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swancontents-2.1.14.tar.gz
  • Upload date:
  • Size: 92.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for swancontents-2.1.14.tar.gz
Algorithm Hash digest
SHA256 75a543ccde8547ea3c49f43d9a039103ea7b46795a12b11666ed9d0afc7c1236
MD5 d699ead9e727271aed14683f649af5a3
BLAKE2b-256 516ddd16029356294d8688e737ea706d62280cba939340a45a0efc58144d5c37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swancontents-2.1.14-py3-none-any.whl
  • Upload date:
  • Size: 126.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for swancontents-2.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c21a31cc9855518697b3d2e922fb5fedf34abffeb876afd52a1a4fc37f7f587b
MD5 2cf3098046fc6a35d6a7ddc1ec6a07b3
BLAKE2b-256 997579e77d6a2b97e8875f6fa706d547ff1040209bfaf3af93d5395381c2c303

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