sqlalchemy-searchable
Provides fulltext search capabilities for declarative SQLAlchemy models.
Decision gist · record as of 2026-08-14
Yes, if you are using SQLAlchemy with PostgreSQL and need fulltext search without external infrastructure. The package is actively maintained, has no known vulnerabilities, and low install friction. Not suitable if you use a different database backend or need advanced search features beyond PostgreSQL's native capabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires PostgreSQL database backend; does not work with other database systems.
- Low friction install with just two runtime dependencies (sqlalchemy and sqlalchemy-utils).
- The package is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions.
last release 2026-02-16 (179 days) · last repo commit 2026-08-03 · 276 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,774 downloads/mo, #12,785 on PyPI
Alternatives
Verify before relying
pip install sqlalchemy-searchable
from sqlalchemy_searchable import make_searchable
from sqlalchemy import create_engine
from sqlalchemy.orm import declarative_base
Base = declarative_base()
make_searchable(Base.metadata)- Whether search indexing is automatic on model changes or requires manual triggers.
- Performance characteristics with large result sets or complex search queries.
- Exact PostgreSQL version requirements beyond general compatibility.
- How to configure which model fields are indexed for search.
What it is and what it does
SQLAlchemy-Searchable integrates PostgreSQL's fulltext search engine directly into SQLAlchemy's declarative ORM layer, letting you mark model fields as searchable and query them using database-native text search operators. It bridges the gap between SQLAlchemy's abstraction and PostgreSQL's powerful search capabilities, avoiding the need for separate search infrastructure for many use cases.
The package works by decorating your model classes and fields, then providing search methods that compile down to PostgreSQL fulltext queries. It requires PostgreSQL and depends on sqlalchemy and sqlalchemy-utils. Search is performed at the database level, making it efficient for large datasets, though it is limited to PostgreSQL and cannot be used with other database backends.
Use it for
- Add search to a blog or content management system where posts need to be found by title or body text.
- Implement user-facing search in a web application backed by SQLAlchemy without adding external search infrastructure.
- Build product search in an e-commerce catalog where items are stored in a PostgreSQL database.
- Create a searchable documentation or knowledge base indexed by PostgreSQL fulltext.
- Add autocomplete or type-ahead search to forms querying a SQLAlchemy model.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using SQLAlchemy with PostgreSQL and need fulltext search without external infrastructure.
The package is actively maintained, has no known vulnerabilities, and low install friction. Not suitable if you use a different database backend or need advanced search features beyond PostgreSQL's native capabilities.
Install
sqlalchemy-searchable on PyPI
Before you install
Low friction install with just two runtime dependencies (sqlalchemy and sqlalchemy-utils). The package is actively maintained with a recent release and no known vulnerabilities.
Requires PostgreSQL database backend; does not work with other database systems.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install sqlalchemy-searchable
from sqlalchemy_searchable import make_searchable
from sqlalchemy import create_engine
from sqlalchemy.orm import declarative_base
Base = declarative_base()
make_searchable(Base.metadata)
Verify before relying
- Whether search indexing is automatic on model changes or requires manual triggers.
- Performance characteristics with large result sets or complex search queries.
- Exact PostgreSQL version requirements beyond general compatibility.
- How to configure which model fields are indexed for search.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagessqlalchemy-utilssqlalchemy |
| Maintenance | Actively maintained 179 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 103,774 / month, #12,785 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: sqlalchemy_searchable-3.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 › “sqlalchemy fulltext search”
- sqlalchemy-searchableAdds fulltext search capabilities to SQLAlchemy models using…
- pyobvectorpyobvector is a Python SDK for OceanBase Vector Store that provides…
- pgvectorAdds vector storage and similarity search support to PostgreSQL…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also SQLAlchemy-Utils · SQLAlchemy · modelsearch · sqlalchemy-jdbcapi · sqlalchemy-filters · Flask-SQLAlchemy · sqlalchemy-pgspider · django-citext · pgvector · pgvecto-rs