Skip to main content

A pure-Python full text indexing search library based on sqlite and the FTS5 extension.

Project description

pocketsearch

pocketsearch is a pure-Python full text indexing search library based on sqlite and the 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 checking 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, 3.9, 3.10 and Python 3.11.

Status

The package is currently in Beta status.

License: MIT Unit tests main Unit tests development Documentation Status

Installation

Run

pip install pocketsearch

to install the package.

Documentation

Documentation can be found at https://pocketsearch.readthedocs.io/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pocketsearch-0.20.0.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

pocketsearch-0.20.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file pocketsearch-0.20.0.tar.gz.

File metadata

  • Download URL: pocketsearch-0.20.0.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pocketsearch-0.20.0.tar.gz
Algorithm Hash digest
SHA256 2d3e688385fca5d742594be498d68a0b9a7ea58b839f90b32524f68a908108ca
MD5 370084ec594422de408964cb360c2330
BLAKE2b-256 1347e6d002097f56f558a38bfc24f2123c8978f0ef7222994aea5706d5fbf81e

See more details on using hashes here.

File details

Details for the file pocketsearch-0.20.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pocketsearch-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1d31b030891e85c168cc36fa0ac4ce3520aa69812c1162fc5510e9ad4d8e920
MD5 feb01910406a65018ad2db853501f021
BLAKE2b-256 3e0047c34b59bfb4f15cd14d7bb56e7a54df6ae7f2af372f7f97b4aec3bdd0b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page