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, Python 3.9, Python 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.12.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

pocketsearch-0.12.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pocketsearch-0.12.0.tar.gz
Algorithm Hash digest
SHA256 f2a8ffec3fc70f134aa44030f4e0045c69c930c00476c28e9f0a3774d6414d8b
MD5 0b8da6020423cf3622a5b3b42ed48e98
BLAKE2b-256 4adb155758d207667fe30db513cfe30912a9c20bce05c84e27d836491927d3ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pocketsearch-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9354fc073f041a8a18a0f2d16c53c87b2ded5b23b8906a4694759feb5ed8fcc4
MD5 fa693bedace8cbc8c8369e13a2917256
BLAKE2b-256 a04cb0816a0e0eaca77143f1951a8cdc5d1dc251352956939fbe9d1ec8226be8

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