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.13.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.13-py3-none-any.whl (126.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swancontents-2.1.13.tar.gz
Algorithm Hash digest
SHA256 4946d6fd3c2055c9ca716fd7cbc1dbf6d32091b8a4f69f704c2dedd9e55f809e
MD5 4727ee58a001e204d15dd35b73f30dc9
BLAKE2b-256 bbb497f8839aa1db3c3bc21d0649a01ec83cc563662593073c3f93f3fbb578e3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for swancontents-2.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 67fc2afdbca9d30c55080b84e73b61871e2d12fdb2587e1aa4bbf3e6665cb6c6
MD5 9e34707fafb9de3045ec93c7e95d20b3
BLAKE2b-256 b09e59c2bcf4095e19991ddec72ebdbeafea818f46f874508ef99c242bc2138b

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