Package manager for SWAN/Jupyterlab


SWAN (Service for Web-based ANalysis) is the platform allowing CERN users to perform interactive data analysis by writing code and running it simply using a web browser. It builds on top of the widely-adopted Jupyter Notebooks by integrating the storage, synchronization and sharing capabilities of CERNBox and the computational power of Spark/Hadoop clusters. In addition, software packages are retrieved on the fly from an HTTP-based file system called CVMFS (CernVM File System) allowing users to forget about installation, configuration, and compatibility of packages.

Thanks to CERNBox, SWAN has integrated sharing functionality inside its interface, allowing users to share “projects” between themselves thus fostering collaborative analysis. Due to the centrally managed software, provided by CVMFS, a user trying to open the shared notebook doesn’t have to worry about compatibility with its software stack, since they are the same. However, SWAN is also used by users who need to install their own packages, breaking this seamless sharing experience.

With this problem in mind, this project aims to provide a package manager for SWAN (in the shape of a Jupyterlab extension), that will allow users to keep track of the packages needed by their “projects”, thus also allowing others to seamless install everything needed.

Task ideas

Expected results

A working Jupyter extension, installable both in SWAN and the vanilla Jupyterlab, that will allow the users to specify Python modules (and respective versions) via a user interface, making them available inside the notebook cells automatically. Optionally, if installed in SWAN (or other CVMFS enabled Jupyterlab deployment), it should also be able to understand the packages available in its software stacks.

Desirable Skills


Corresponding Project

Participating Organizations