Metadata-Version: 2.0
Name: sqlitefts
Version: 0.4.0
Summary: A Python binding for tokenizers of SQLite Full Text Search
Home-page: https://github.com/hideaki-t/sqlite-fts-python/
Author: Hideaki Takahashi
Author-email: mymelo@gmail.com
License: MIT
Keywords: SQLite,Full-text search,FTS
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Database
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: cffi

|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
======

 * https://github.com/saaj


.. _SQLite Full-Text search(FTS3/4): http://www.sqlite.org/fts3.html
.. _predefined tokenizers: http://www.sqlite.org/fts3.html#tokenizer
.. _peewee: https://github.com/coleifer/peewee
.. _CFFI: http://cffi.readthedocs.io/en/latest/
.. _ctypes: https://docs.python.org/library/ctypes.html
.. |codeship build status| image:: https://codeship.com/projects/fc2fe0d0-33d2-0134-50c3-7e300f67430e/status?branch=master
.. _codeship build status: https://codeship.com/projects/164859
.. |appveyor build status| image:: https://ci.appveyor.com/api/projects/status/github/hideaki-t/sqlite-fts-python?svg=true
.. _appveyor build status: https://ci.appveyor.com/project/hideaki-t/sqlite-fts-python


