JupyterHub is a multi-user Hub that spawns, manages, and proxies multiple instances of the single-user Jupyter notebook server. It can offer notebook servers to a class of students, a scientific research project, or a high-performance computing group.
Please contact C&CZ if you plan to use or are interested in using the JupyterHub for your course or project.
The JupyterHub is available via https://jupyterhub.science.ru.nl and you can login with your Science username / password combination.
Note: If you are not on campus, you need to use VPN.
For the creating and grading of assignments within the JupyterHub you can use the NBGrader extension. It allows instructors to easily create Jupyter notebook-based assignments that include both coding exercises and written free-responses. NBGrader also provides a streamlined interface for quickly grading completed assignments via an auto-grading functionality.
Please contact C&CZ if you like to use NBGrader for one of your courses.
For the distribution of files you can use the NBGitPuller extension. This allows to distribute content from a git repository to a JupyterHub user via a simple link.
Creating the NBGitPuller Download Link
To pull the content of a git repository to JupyterHub’s local directory we first need to create a link via https://jupyterhub.github.io/nbgitpuller/link?hub=https://jupyterhub.science.ru.nl. [ADD SCREENSHOT]
We have to fill a few fields to be able to generate the link:
- JupyterHub URL: https://jupyterhub.science.ru.nl/
- Git Repository URL: URL of your publicly available git repository
- File to open: The first file to open; not particularly important
Afterwards, you can copy the generated link and share it among the students.
Using the NBGitPuller Download Link
For students to pull the content of the repository successfully, they have to execute the following steps in order:
- login to the JupyterHub
- spawn a new session
- click on the link (from above) in the same browser.
Once done successfully in this order, students will be able to pull the content of the repository to their home directories.
Available Programming Languages
The default kernel (ipykernel) allows to use Python. Many other languages such as Julia, C++, or Fortran, in addition to Python, may be used in the notebooks as well. Here you can find a list of possible kernels / programming languages. Please contact C&CZ if you like to use one of them.