Install the Python API Client
Install the Python client using pip:
$
pip install --upgrade 'algoliasearch>=2.0,<3.0'
Language-specific notes
Migration note from v1.x to v2.x
In April 2019, we released v2.x of our Python client. If you are using version 1.x of the client, read the migration guide to version 2.x. The version 1.x is no longer supported.
Working in asynchronous environments
Algolia’s Python API Client provides asynchronous methods built on top of the Python 3.4+ asyncio framework. You need to install the following asynchronous libraries to make the methods work:
$
pip install 'asyncio>=3.4,<4.0' 'aiohttp>=2.0,<4.0' 'async_timeout>=2.0,<4.0'
Please head over to asynchronous environments documentation to find the available methods and features.