Getting started: using Jupyter Notebooks in your classroom

If you consider using Jupyter notebooks for your course, then noto will spare you and your students the JupyterLab installation overhead and provide you with a pre-configured, standard and stable environment in just one click. Noto currently supports Python, R, C, JavaScript and Octave.

You can use noto for your computer labs (as a replacement for using computer rooms or virtual machines for instance), for assignments, for student projects, for distributing your interactive textbook or for running your classroom demonstrations. Learn more about the different classroom uses of Jupyter notebooks here.

Note that your students need internet access to use noto: because noto is an online centralized service, offline use is, by definition, not possible.

Which libraries are already installed?

Noto comes with a very large range of pre-installed Python and R libraries. To find out which Python libraries are available, you can launch a terminal or create a bash notebook and type the command: pip list --format=columns. Alternatively, you can also have a look at our documentation.

If the library you need is not in this list, you can install it for yourself using a virtual environment (more information in the FAQ below and here) or if you need it to be available for several people, e.g. your whole class, then please contact us and we will add it to the standard environment in noto.

How much computing power is available and how much will I need?

If your class is larger than 100 students or requires quite a lot of computing power, or if you have any question about noto’s resources, we advise you to contact us: we will be happy to check together what we can do so that your class runs in the best conditions.

Noto has been designed to support large numbers of simultaneous users and our scalable architecture is able to adapt to peaks in concurrent connections. Nevertheless, the resources are not unlimited. Currently, Noto can run up to 9 parallel Jupyter backend servers to provide a total of up to 144 GB of RAM and 144 CPU, shared between all users. Our current policy is to allocate up to a maximum of 2 GB of RAM and 2 CPUs per user. 

The resources you need for your class largely depend on the type of notebooks you use (e.g. intensive data processing vs. simple calculations). To give you an idea, the typical use requires a minimum of 250 to 500 MB of RAM and half a CPU per user. Running a more demanding notebook (with a larger dataset and some more intensive computations) may require more around 1 GB of RAM and 1 CPU per user.

How can I share notebooks with others on noto?

Notebooks are simple text files, so they can easily be shared by usual means e.g. sent by email, uploaded on a website or on Moodle, etc. like you would do with any other type of document (pdf, doc, etc.). To download a notebook from your noto workspace to your computer, simply right-click on the notebook in the left pane of the noto interface, then select “Download” in the contextual menu. To execute a notebook that someone has shared with you, you can then simply upload it to noto by drag-and-dropping the file onto your workspace.

However, if you need to share more than one notebook or if you want your students to access your notebooks without downloading/uploading, then it is easier to use other means and for this noto supports sharing through git. You can clone and manage a git repository on noto as you would do on your own computer (learn more about using git in noto). Then, thanks to a simple tool called nbgitpuller, you can easily generate shareable links for any of the notebooks from this repository. Start creating shareable links for your notebooks here.

Technical or pedagogical questions? Our support team is here for you!

Other Frequently Asked Questions / FAQ

Because installing incompatible/untested Python packages in the default environment can break your default Python environment (the one that runs your jupyter server), access to the pip command outside of virtual environments has been disabled. Therefore, installing a new Python library is done in three steps: 1) first creating a new virtual environment and activating it, 2) then installing your Python library using pip install and finally 3) installing a Jupyter kernel in that environment.

Once this is done, you can execute a notebook with your newly created kernel by selecting it either from the launcher or from the kernel selector (top right drop down menu in an opened notebook). Our documentation provides you with the corresponding bash commands and walks you through these steps with examples.

Noto supports collaborative work through git. This means that while several people can edit the same notebook simultaneously, they will not see each others’ modifications until they are committed and pushed to the repository (including eventual conflict resolution). Contrary to Google Colab for instance, noto does not support real-time collaboration yet.

You can easily access your git repository from noto either through the command line in the Jupyter terminal or through the point-and-click interface of the git extension of JupyterLab, accessible from the Git menu at the top of the Jupyter window. Please see our documentation to set up SSH authentication to avoid having to repeatedly enter your login credentials. If you are new to git, we advise you to follow one of the many tutorials on the web to familiarize yourself with it beforehand. Then you can see this tutorial on how to use the point-and-click interface of the JupyterLab git extension.

Using git from the command line (main window) or from the git interface (left pane) in JupyterLab.
Using git from the command line (main window) or from the git interface (left pane) in JupyterLab.

Managing assignments generally involves 3 steps: a) providing students with the assignment, i.e. a description with instructions and sometimes also some source files, b) collecting students submissions and c) grading student work.

Steps a) and b) can be easily done via the EPFL moodle platform, which is connected to noto thanks to a dedicated plugin. As a result:

  • You can provide students with notebooks from your noto workspace when creating assignments in moodle;
  • Students can attach notebooks from their noto workspace when they submit their work to you;
  • You can also easily execute students’ submitted notebooks directly in noto.

You can find the documentation of the Jupyter notebooks assignment plugin for moodle here [Link TO DOC]. If you would like to learn more about it, don’t hesitate to contact us.

Entering grades and feedback for student work can also be done in the standard moodle assignment interface, either for each student individually or in batch. But with Jupyter notebooks, you also have the option to automatically grade some or all parts of a notebook-based assignment with automated graders such as nbgrader or otter-grader. Although not all functionalities of nbgrader are available because of its architecture, you can run its automated grader directly on noto if you wish. Discover how Pol del Aguila Pla used nbgrader and noto for their graded Image Processing Labs.