This python package includes a loadable spellfix1
extension module for sqlite. This allows other python packages to use this extension without requiring dependencies outside of the python ecosystem. For more details on the extension itself, see the official documentation.
Install the sqlite-spellfix
package from pypi.
Install via pip
pip install git+https://github.com/karlb/sqlite-spellfix
or add this to you requirements.txt:
git+https://github.com/karlb/sqlite-spellfix
import sqlite3
import sqlite_spellfix
conn = sqlite3.connect(":memory:")
conn.enable_load_extension(True)
conn.load_extension(sqlite_spellfix.extension_path())
# now use as described in https://www.sqlite.org/spellfix1.html