sqlite-sparse (Python)
Python binding for sqlite-sparse, semantic search in one SQLite file with no model at query time.
import sqlite3, sqlite_sparse
db = sqlite3.connect("notes.db")
sqlite_sparse.load(db) # loads the sparse0 extension
sqlite_sparse.register(db, "mini") # downloads the model on first use
db.execute("CREATE VIRTUAL TABLE notes USING sparse0(model='mini')")
Also contains the pure-Python reference implementation of the file format
(SparseIndex) and the sidecar converter. Full documentation in the repository README.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlite_sparse-0.1.0.tar.gz.
File metadata
- Download URL: sqlite_sparse-0.1.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
012b1b6de6ca09fb63b1f979883db766ad3c56047b4045e261153f0808cc72df
|
|
| MD5 |
9431e3ce3a48435f2859017088840276
|
|
| BLAKE2b-256 |
d05b02bad571a34ee3b7fc0faae7b1852d2e6ffe07b96a39f159422dbef3de04
|
File details
Details for the file sqlite_sparse-0.1.0-py3-none-manylinux_2_35_x86_64.whl.
File metadata
- Download URL: sqlite_sparse-0.1.0-py3-none-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48541192d839d696b66b0df544273797bd9aacf045ec23c643ede540c5e2be58
|
|
| MD5 |
46a37d0a0e5d837a6d7a82c9b33a064f
|
|
| BLAKE2b-256 |
5d3017e0ca5e22a59d05cfc09ce898b1f8e2bc10d8cba9fc8d96cf236df2fbd1
|
File details
Details for the file sqlite_sparse-0.1.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: sqlite_sparse-0.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
356d1e8bd8ca34b554aca738c4dc4c365cca6cabd93b417a949d8d6f36a4941c
|
|
| MD5 |
042e33f3b8f566d472779d33fff22b8f
|
|
| BLAKE2b-256 |
fa02a4a961dfa4af2b8d49dce668190732d409b8cf12ea0c864b0cb5c30d5b9e
|
File details
Details for the file sqlite_sparse-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sqlite_sparse-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
870e4f6839ee3e69580a727d6a6c980b179efbe8beaaaf44d3d9c13386047ffc
|
|
| MD5 |
2ac31b25bb2040fe97e00359be52373a
|
|
| BLAKE2b-256 |
3ee5d7ccecf30fef6f33e688ac2c1d379fe046d4d1bffe2cc50f573a0d8fb58e
|