skillfed

algoliasearch

A fully-featured and blazing-fast Python API client to interact with Algolia.

algoliasearch v4.44.4 3.2M downloads/30d#2,690 on PyPI207
Permissive license MIT Active released

What it is and what it does

Algoliasearch is a low-level HTTP client library that wraps Algolia's search and indexing API for Python applications. It provides a thin interface to send requests to Algolia's servers, handle responses, and manage common operations like adding records to indices, searching with typo tolerance, and polling task status. The library supports both synchronous and asynchronous workflows through its dependencies on aiohttp and requests, making it flexible for different application architectures.

The package is designed as a starting point for developers integrating Algolia search into Python projects. It handles the mechanics of API communication—authentication, serialization, and response parsing—leaving application logic to the caller. Dependencies include aiohttp, requests, urllib3 for HTTP transport, pydantic for response validation, and python-dateutil for timestamp handling.

Use it for:

  • Add, update, or delete records in a search index from a Python application
  • Execute full-text searches with typo tolerance and retrieve ranked results
  • Monitor indexing task completion by polling task status after bulk operations
  • Integrate search functionality into a web application using the HTTP client
  • Build semantic or neural search capabilities into an existing Python service

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python HTTP client for interacting with Algolia's search API, supporting both synchronous and asynchronous operations with built-in request handling and response parsing.

Yes. The package is actively maintained, has no known vulnerabilities, supports modern Python versions from 3.8.1 onward, and carries a permissive MIT license. Install friction is low and the dependency set is standard. Choose it if you need to integrate Algolia search into a Python project and want a straightforward, officially-supported client.

Install

algoliasearch on PyPI

pip

pip install algoliasearch

uv

uv add algoliasearch

poetry

poetry add algoliasearch

Installing algoliasearch

Before you install

Low installation friction with a pure-wheel distribution. Actively maintained with a release within the last 30 days and support for current Python versions (3.9 through 3.14).

License in practice

MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install 'algoliasearch>=4.0,<5.0'

from algoliasearch.search.client import SearchClient

client = SearchClient("YOUR_APP_ID", "YOUR_API_KEY")
response = await client.save_object(
    index_name="index_name",
    body={"objectID": "id", "test": "val"}
)

Requires Python 3.8.1 or later; async operations require an async context or event loop.

Verify before relying

  • Whether sync and async patterns are equally supported or if async is primary
  • Rate limiting, retry behavior, and error handling specifics beyond HTTP transport
  • Performance characteristics under high-volume indexing or search workloads

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8.1)
Install friction low — pure-Python wheel
Runtime dependencies 6 — aiohttp, async-timeout, pydantic, python-dateutil, requests, urllib3
Maintenance actively maintained — 30 days since the last release
Last repo commit
First released
Downloads 3,233,239/month — #2,690 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: algoliasearch-4.44.4-py3-none-any.whl

Keywords: algolia, search, full-text-search, neural-search

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: Indexing/Search

Tags

algolia search client pythonalgolia api clientsearch indexing pythonfull-text search apialgolia integrationsearch engine clientasync search client
search-apiasync-http

More Indexing/Search packages