0%

How to complete the exercises: Google Colab or local installation

To complete the exercises during this tutorial, you have two options: use Google Colab or install Jupyter Notebook locally.

1. Google Colab

Google Colab, or “Colaboratory,” allows you to write and execute Python code directly in your browser without any local setup. We recommend using this option. You will find the link for each exercise on the corresponding page. If you’ve never worked with Google Colab before, we recommend reading this page.

2. Local Installation

If you prefer, you can also install the necessary libraries on your local machine. Follow these steps:

  • Follow the installation instructions provided in the repository to install the impc_api Python package and Jupyter Notebook
  • Download the Jupyter Notebook with the exercises to your local machine. You can use the wget or curl commands with the provided link, or clone the repository using:
    git clone https://github.com/mpi2/impc-data-api-workshop
  • Run the following command to start a Jupyter Notebook session:
    jupyter notebook
  • Open the .ipynb file containing the exercises and apply your knowledge from the tutorial to complete them

Continue on to the next section where we will introduce how to programmatically access IMPC data.