Welcome to pocketsearch’s documentation!
pocketsearch is a pure-Python full text indexing search library based on sqlite and its FTS5 extension.
It provides
A simple API (inspired by the ORM layer of the Django web framework) for defining schemas and searching - no need to write SQL
Multi-field indices using schemas including text, numeric and date/datetime search
Prefix, phrase and initial token queries
Spell checker and query auto correction
Boolean search queries
Highlightning search results and extracting snippets
Autocomplete features
It does not have any external dependencies other than Python itself. pocketsearch has been tested on Python 3.8, Python 3.9, Python 3.10 and Python 3.11.