typesense
Python client for Typesense, an open source and typo tolerant search engine.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and provides both sync and async APIs for a mature search engine. Install it if you are already running a Typesense server and need a Python client to interact with it; it is not useful without a Typesense instance to connect to.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Typesense server instance; client version 2.0.0 requires Typesense server >= v30.0
- Low friction installation with only two lightweight runtime dependencies (httpx and typing-extensions).
- Actively maintained with a recent release and ongoing repository activity.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.
last release 2026-02-16 (179 days) · last repo commit 2026-02-16 · 246 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,202,985 downloads/mo, #4,228 on PyPI
Alternatives
Verify before relying
pip install typesense
import typesense
client = typesense.Client({
"api_key": "your-api-key",
"nodes": [{"host": "localhost", "port": "8108", "protocol": "http"}],
})
collections = client.collections.retrieve()- Whether the package handles connection pooling or retry logic automatically
- Performance characteristics when handling large result sets or bulk indexing operations
What it is and what it does
Typesense is a Python client for Typesense, an open-source search engine designed for typo-tolerant full-text search. The package wraps the Typesense HTTP API, allowing developers to create and manage search collections, index documents, and execute search queries from Python applications. It supports both synchronous and asynchronous workflows through separate Client and AsyncClient classes, making it suitable for different application architectures.
The library depends on httpx for HTTP communication and typing-extensions for type hints, keeping its dependency footprint minimal. It targets modern Python versions (3.9 through 3.13) and maintains version alignment with the Typesense server—version 2.0.0 requires server >= v30.0. The package is actively maintained and includes both sync and async code paths, with sync implementations generated automatically from async sources.
Use it for
- Building a search interface for a web application that needs typo tolerance and fast full-text search
- Indexing and querying documents in a Python backend service using Typesense as the search backend
- Implementing async search operations in a FastAPI or async Python application
- Managing multiple search collections and their schemas programmatically
- Integrating Typesense search into a data pipeline that processes and indexes documents
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and provides both sync and async APIs for a mature search engine. Install it if you are already running a Typesense server and need a Python client to interact with it; it is not useful without a Typesense instance to connect to.
Install
typesense on PyPI
Before you install
Low friction installation with only two lightweight runtime dependencies (httpx and typing-extensions). Actively maintained with a recent release and ongoing repository activity.
Requires a running Typesense server instance; client version 2.0.0 requires Typesense server >= v30.0
License in practice
Apache 2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.
Quickstart
pip install typesense
import typesense
client = typesense.Client({
"api_key": "your-api-key",
"nodes": [{"host": "localhost", "port": "8108", "protocol": "http"}],
})
collections = client.collections.retrieve()
Verify before relying
- Whether the package handles connection pooling or retry logic automatically
- Performance characteristics when handling large result sets or bulk indexing operations
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageshttpxtyping-extensions |
| Maintenance | Actively maintained 179 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,202,985 / month, #4,228 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: typesense-2.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “typesense python client”
- typesensePython client library for Typesense search engine, providing both…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- openapi-python-clientGenerates type-annotated Python HTTP clients from OpenAPI 3.0 and 3.1…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also pagefind · glean-api-client · django-elasticsearch-dsl · modelsearch · Whoosh · meilisearch-python-sdk · mistralai · Whoosh-Reloaded · aiogithubapi · axiom-py