A sqlite3 cursor with extra methods to support FTS3/4/5
Project description
ftscursor
A sqlite3 cursor with extra methods to support FTS3/4/5.
This package contains a subclass of the sqlite3.Cursor class that makes it easy to perform (simple) full-text-search operations using the sqlite3 module.
See the included example script
for an application of the FTSCursor class. Once ftscursor
is installed, the
example script can be run from the command line by calling ftscursor-example
.
For usage information, see ftscursor-example -h
:
usage: ftscursor-example [-h]
<path/to/database.db> <table_name> <column_name>
[<column_name> ...] <query>
Create a sqlite3 FTS table in memory and perform a query
positional arguments:
<path/to/database.db>
a sqlite database
<table_name> the table which will be indexed
<column_name> a which will be indexed
<query> a FTS query
optional arguments:
-h, --help show this help message and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ftscursor-0.3.6.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for ftscursor-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e09a8efa930d3cd79e257ed4dbafcfa945faacf699c424422ffe0a994585d78 |
|
MD5 | 94a5a6047066a5729c7286745e576067 |
|
BLAKE2b-256 | 9f9b54f35249a13681556a7d7a2612e1f0b224910091dffa4fa2e48d60b00057 |