Skip to main content

A Python binding for tokenizers of SQLite Full Text Search

Project description

codeship build status appveyor build status

sqlitefts-python

sqlitefts-python provides binding for tokenizer of SQLite Full-Text search(FTS3/4). It allows you to write tokenizers in Python.

SQLite has Full-Text search feature FTS3/FTS4 along with some predefined tokenizers. It is easy to use and has enough functionality. Python has a built-in SQLite module, so that it is easy to use and deploy. You don’t need anything else to full-text search.

But… the predefined tokenizers are not enough for some languages including Japanese. Also it is not easy to write own tokenizers. This module provides ability to write your own tokenizers using Python without C compiler by ctypes and CFFI.

It also has ranking functions based on peewee.

Requirements

  • Python 2.7, Python 3.3+, and PyPy2.7, PyPy3.2, PyPy3.3

  • CFFI

  • FTS3/4 enabled SQLite (for Windows, you may need to download and replace sqlite3.dll)

Licence

This software is released under the MIT License, see LICENSE.

Thanks

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

sqlitefts-0.4.0.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

sqlitefts-0.4.0-py2.py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 2 Python 3

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