skillfed

meilisearch

The python client for Meilisearch API.

meilisearch v0.43.0 938.3K downloads/30d#4,686 on PyPI600
Permissive license MIT Active released

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 meilisearch

uv

uv add meilisearch

poetry

poetry add meilisearch

Installing 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

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

meilisearch python clientfull-text search apitypo-tolerant searchsemantic search integrationdocument indexing librarysearch engine clienthybrid search python
search-clientfull-text-searchapi-wrapper

More Front-Ends packages