API Reference / API Methods / Install the Python API Client
Mar. 07, 2019

Install the Python API Client

Install the Python client using pip:

$
pip install --upgrade algoliasearch

Source source on GitHub

All our API clients are open-sourced and available on Github.

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.

Did you find this page helpful?