Install the Python API client

Install

Install the Python client using pip:

pip install --upgrade algoliasearch

Language-specific notes

We implemented an asynchronous version of the client that may suit your need if you are using a framework such as aiohttp in your backend. This version can be found here.

Unreachable hosts

If you are seeing an error for Unreachable hosts when pushing data to Algolia, this is caused by PyOpenSSL and older versions of Python. You can see more information here.

To fix, either upgrade your Python version or your urllib3.