algoliasearch
A fully-featured and blazing-fast Python API client to interact with Algolia.
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 algoliasearchuv
uv add algoliasearchpoetry
poetry add algoliasearchInstalling 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
Tags
More Indexing/Search packages
Provides stemming algorithms for 34 languages,…
permissive · top 1,000 on PyPI
netaddrRepresents and manipulates IPv4, IPv6, MAC…
permissive · top 5,000 on PyPI
firecrawl-pyClient library for the Firecrawl API that…
permissive · top 5,000 on PyPI
ddgsAggregates web search results from multiple…
permissive · top 5,000 on PyPI
duckduckgo-searchRetrieves search results from DuckDuckGo for…
permissive · top 5,000 on PyPI
PyStemmerPyStemmer provides word stemming algorithms for…
permissive · top 5,000 on PyPI
algoliasearch-djangoIntegrates Algolia's hosted search service into…
permissive · top 5,000 on PyPI
pagefindProvides an async Python API to index and…
permissive · top 5,000 on PyPI
sonic-clientPython client library for the Sonic search…
permissive · top 15,000 on PyPI
azure-search-documentsClient library for querying, indexing, and…
unclear · top 5,000 on PyPI
glean-api-clientA Python SDK for accessing Glean's REST API,…
unclear · top 15,000 on PyPI
gcloud-aio-taskqueueAsyncio and threadsafe Python client library…
permissive · top 15,000 on PyPI
Wikipedia-APIWikipedia-API is a Python wrapper for…
permissive · top 5,000 on PyPI
aiogithubapiAsynchronous Python client library for…
permissive · top 15,000 on PyPI
serpapiOfficial Python client for SerpApi that queries…
permissive · top 15,000 on PyPI
agentqlAgentQL is a Python client for interacting with…
permissive · top 15,000 on PyPI