meilisearch
The python client for Meilisearch API.
What it is and what it does
Meilisearch is a Python client that connects your application to a Meilisearch search engine instance. It abstracts the HTTP API into a straightforward object-oriented interface for indexing documents and running searches. The package handles document serialization, index management, and query construction, supporting both simple keyword searches and advanced features like typo tolerance, filtering, highlighting, and hybrid search (combining keyword and semantic search via embedders).
The client is synchronous and designed for standard request-response workflows. It depends on requests for HTTP communication and camel-converter for data transformation. The package is actively maintained, supports modern Python versions (3.10–3.13), and carries no known security vulnerabilities. If your project requires async/await, the description notes that a community-maintained fork exists, though this package itself remains synchronous.
Use it for:
- Add full-text search to a web application by indexing product or content documents and serving typo-tolerant queries.
- Build a search interface with filtering and highlighting by configuring filterable attributes and custom search parameters.
- Combine keyword and semantic search in a single query using hybrid search with configured embedders for relevance ranking.
- Manage document lifecycle (add, update, delete) and track indexing tasks via the task API for large datasets.
- Serialize complex Python objects (UUIDs, datetimes) into searchable documents using a custom JSON encoder.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for the Meilisearch API, enabling document indexing, full-text search with typo tolerance, and semantic search capabilities against a Meilisearch server.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. Install it if you are already running a Meilisearch server and need a straightforward Python client for indexing and search. Not suitable if you require async/await support (use the community fork instead) or if you do not have a Meilisearch instance to connect to.
Install
meilisearch on PyPI
pip
pip install meilisearchuv
uv add meilisearchpoetry
poetry add meilisearchInstalling meilisearch
Before you install
Low install friction with only two runtime dependencies (requests and camel-converter). Active maintenance with a recent release 23 days ago and consistent commit history. Supports Python 3.10+ across current language versions.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.
Quickstart
pip install meilisearch
import meilisearch
client = meilisearch.Client('http://127.0.0.1:7700', 'masterKey')
index = client.index('movies')
index.add_documents([{'id': 1, 'title': 'Carol'}])
results = index.search('carol')
Requires a running Meilisearch server instance (self-hosted or Meilisearch Cloud) and Python 3.10 or higher.
Verify before relying
- Whether the package's async support story has changed since the description recommends a community fork (meilisearch-python-sdk) for async/await.
- Current feature parity with Meilisearch server versions beyond v1.2.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, camel-converter |
| Maintenance | actively maintained — 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 938,281/month — #4,686 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: meilisearch-0.43.0-py3-none-any.whl
Keywords: search, python, meilisearch
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
meilisearch-python-sdkProvides both async and sync Python clients for…
permissive · top 15,000 on PyPI
redisvlRedisVL is a Python client for building AI…
permissive · top 5,000 on PyPI
azure-search-documentsClient library for querying, indexing, and…
unclear · top 5,000 on PyPI
pagefindProvides an async Python API to index and…
permissive · top 5,000 on PyPI
pagefind-binPagefind-bin provides a precompiled binary…
permissive · top 5,000 on PyPI
metal-sdkPython client library for indexing and querying…
permissive · top 15,000 on PyPI
pinecone-textProvides sparse and dense text encoders for…
unclear · top 15,000 on PyPI
WhooshWhoosh is a pure-Python full-text search and…
permissive · top 5,000 on PyPI
llama-index-retrievers-bm25Integrates BM25 full-text search retrieval into…
permissive · top 15,000 on PyPI
FlagEmbeddingFlagEmbedding provides embedding and reranking…
unclear · top 15,000 on PyPI