meilisearch-python-sdk
A Python client providing both async and sync support for the Meilisearch API
What it is and what it does
This package is a Python wrapper around the Meilisearch search engine API, offering both synchronous and asynchronous client implementations. It handles document indexing, search queries with filtering and highlighting, and task status tracking. The async client is designed for use in asyncio-based applications like FastAPI, while the sync client works in traditional blocking code; both expose the same underlying functionality through their respective calling conventions.
The SDK depends on aiofiles, camel-converter, httpx2, and pydantic to manage async file operations, data transformation, HTTP communication, and request validation. It is actively maintained, supports Python 3.10 through 3.14, and carries no known security vulnerabilities. The library is positioned as a community alternative to the official Meilisearch Python client, with independent benchmarks suggesting performance advantages in async scenarios.
Use it for:
- Building a FastAPI application that indexes and searches documents asynchronously without blocking the event loop.
- Adding full-text search to a web application by managing document ingestion and query execution through a Python client.
- Batch-indexing large document collections using the async client for improved throughput over the sync alternative.
- Implementing search with custom filters and highlighting (e.g., filtering by date range and highlighting matching terms).
- Monitoring indexing progress by retrieving task status after submitting documents for processing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides both async and sync Python clients for the Meilisearch search API, enabling document indexing and full-text search operations.
Yes. The package is actively maintained, carries no known vulnerabilities, installs with low friction, and offers both sync and async interfaces for Meilisearch integration. Choose it if you need a Python client for Meilisearch and prefer async support or community-driven development; the official Meilisearch Python library is the alternative if you prefer an officially maintained option.
Install
meilisearch-python-sdk on PyPI
pip
pip install meilisearch-python-sdkuv
uv add meilisearch-python-sdkpoetry
poetry add meilisearch-python-sdkInstalling meilisearch-python-sdk
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a release 3 days ago and commits through 2026-08-14. Supports modern Python versions (3.10–3.14) and is marked Production/Stable.
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install meilisearch-python-sdk
from meilisearch_python_sdk import Client
with Client('http://127.0.0.1:7700', 'masterKey') as client:
index = client.index('books')
index.add_documents([{'id': 1, 'title': 'Ready Player One'}])
results = index.search('ready player')
Requires a running Meilisearch server instance (e.g., via Docker or local installation) accessible at the specified URL.
Verify before relying
- Whether the optional orjson extra measurably improves performance in typical workloads.
- Compatibility guarantees with Meilisearch server versions beyond those tested in CI.
Package facts
| License | MIT License Copyright (c) 2021 Paul Sanders Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — aiofiles, camel-converter, httpx2, pydantic |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 192,511/month — #9,862 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: meilisearch_python_sdk-7.5.0-py3-none-any.whl
Keywords: async, client, meilisearch, python, sdk
Tags
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object…
permissive · top 100 on PyPI
psycopg2-binarypsycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI
psycopgPsycopg 3 is a PostgreSQL database adapter for…
copyleft · top 1,000 on PyPI
meilisearchPython client library for the Meilisearch API,…
permissive · top 5,000 on PyPI
linkup-sdkA Python client library for the Linkup API that…
permissive · top 15,000 on PyPI
pagefindProvides an async Python API to index and…
permissive · top 5,000 on PyPI
typesensePython client library for Typesense search…
permissive · top 5,000 on PyPI
atprotoPython SDK for the AT Protocol that provides…
permissive · top 5,000 on PyPI
aleph-alpha-clientPython client library for calling the Aleph…
permissive · top 15,000 on PyPI
xai-sdkOfficial Python SDK for xAI's APIs, providing…
permissive · top 5,000 on PyPI
WhooshWhoosh is a pure-Python full-text search and…
permissive · top 5,000 on PyPI
notion-clientA Python client library for the official Notion…
permissive · top 5,000 on PyPI
centPython SDK for communicating with Centrifugo v5…
permissive · top 15,000 on PyPI