0%

A Python module to access IMPC data: installation and available functions

Instead of using direct requests in the browser, we will use the Python package impc_api to access IMPC data. impc_api provides several helper functions that build upon the IMPC Solr API.

To install the package, simply run the following command:
pip install impc_api

You can import two functions via the command:
from impc_api import solr_request, batch_solr_request

  1. The solr_request function is designed for small, simple requests that allow you to do prototyping.
  2. The batch_solr_request function is made for large requests and downloading data.

To get help, add a question mark before the function name:
? solr_request

We will discuss both functions in more detail later during the tutorial.