Python prebuilt binaries for SQLite AI extension for all supported platforms and architectures.
Project description
SQLite AI Python package
This package provides the sqlite-ai extension prebuilt binaries for multiple platforms and architectures.
SQLite-AI
SQLite-AI is an extension for SQLite that brings artificial intelligence capabilities directly into the database. It enables developers to run, fine-tune, and serve AI models from within SQLite using simple SQL queries — ideal for on-device and edge applications where low-latency and offline inference are critical. The extension is actively developed by SQLite AI, some API and features are still evolving.
More details on the official repository sqliteai/sqlite-ai.
Documentation
For detailed information on all available functions, their parameters, and examples, refer to the comprehensive API Reference.
Supported Platforms and Architectures
| Platform | Arch | Subpackage name | Binary name |
|---|---|---|---|
| Linux (CPU) | x86_64/arm64 | sqliteai.binaries.cpu | ai.so |
| Linux (GPU) | x86_64/arm64 | sqliteai.binaries.gpu | ai.so |
| Windows (CPU) | x86_64 | sqliteai.binaries.cpu | ai.dll |
| Windows (GPU) | x86_64 | sqliteai.binaries.gpu | ai.dll |
| macOS (CPU) | x86_64/arm64 | sqliteai.binaries.cpu | ai.dylib |
Usage
Note: Some SQLite installations on certain operating systems may have extension loading disabled by default.
If you encounter issues loading the extension, refer to the sqlite-extensions-guide for platform-specific instructions on enabling and using SQLite extensions.
import importlib.resources
import sqlite3
# Connect to your SQLite database
conn = sqlite3.connect("example.db")
# Load the sqlite-ai extension
# pip will install the correct binary package for your platform and architecture
# Choose between CPU or GPU variant
ext_path = importlib.resources.files("sqliteai.binaries.cpu") / "ai"
conn.enable_load_extension(True)
conn.load_extension(str(ext_path))
conn.enable_load_extension(False)
# Now you can use sqlite-ai features in your SQL queries
print(conn.execute("SELECT ai_version();").fetchone())
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 Distributions
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_ai-0.7.3-py3-none-win_amd64.whl.
File metadata
- Download URL: sqlite_ai-0.7.3-py3-none-win_amd64.whl
- Upload date:
- Size: 17.7 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f6bdc53de3e841b24ac84a4736891c6d5e7a6d6f87f2c2205ea668de4eb674c
|
|
| MD5 |
3c4911da149a545bb6533eaec5a6cf28
|
|
| BLAKE2b-256 |
a22d914e87e6ef96b665b6649397d314f4b801ce0e9b4c33b64e8f0836dc7b7f
|
Provenance
The following attestation bundles were made for sqlite_ai-0.7.3-py3-none-win_amd64.whl:
Publisher:
python-package.yml on sqliteai/sqlite-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqlite_ai-0.7.3-py3-none-win_amd64.whl -
Subject digest:
3f6bdc53de3e841b24ac84a4736891c6d5e7a6d6f87f2c2205ea668de4eb674c - Sigstore transparency entry: 555661463
- Sigstore integration time:
-
Permalink:
sqliteai/sqlite-ai@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sqliteai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file sqlite_ai-0.7.3-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: sqlite_ai-0.7.3-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 17.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82a8842c000cea200713994fdfabab77be3105d609ddf944a4102197d0cfc015
|
|
| MD5 |
49abeac298fdaf03bed31e02e69b63c4
|
|
| BLAKE2b-256 |
69181decf69ceee6575c596f869c9321b921c29a13a98735e344e79dd5e6d123
|
Provenance
The following attestation bundles were made for sqlite_ai-0.7.3-py3-none-manylinux2014_x86_64.whl:
Publisher:
python-package.yml on sqliteai/sqlite-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqlite_ai-0.7.3-py3-none-manylinux2014_x86_64.whl -
Subject digest:
82a8842c000cea200713994fdfabab77be3105d609ddf944a4102197d0cfc015 - Sigstore transparency entry: 555661456
- Sigstore integration time:
-
Permalink:
sqliteai/sqlite-ai@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sqliteai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file sqlite_ai-0.7.3-py3-none-manylinux2014_aarch64.whl.
File metadata
- Download URL: sqlite_ai-0.7.3-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 14.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
922a8b576534f05c698e1336e6d481774332f267637a77e4ba29756143da90ba
|
|
| MD5 |
58131c37f8c134a33f58a7285fcc73a6
|
|
| BLAKE2b-256 |
041f5bd5e2f9b45bdf18e370efe64d4d1b0828df04a1600c503fd2b6ca973d6c
|
Provenance
The following attestation bundles were made for sqlite_ai-0.7.3-py3-none-manylinux2014_aarch64.whl:
Publisher:
python-package.yml on sqliteai/sqlite-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqlite_ai-0.7.3-py3-none-manylinux2014_aarch64.whl -
Subject digest:
922a8b576534f05c698e1336e6d481774332f267637a77e4ba29756143da90ba - Sigstore transparency entry: 555661699
- Sigstore integration time:
-
Permalink:
sqliteai/sqlite-ai@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sqliteai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file sqlite_ai-0.7.3-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: sqlite_ai-0.7.3-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e40b1e6f69ad52e9b4561d3d88a47930da7db246dcbf3d0d21e454d19a32d748
|
|
| MD5 |
3cbca44de41fea6fe27b54a1d0af07cd
|
|
| BLAKE2b-256 |
0d9baf0a036520c9103b7e6fd6d873c426835841e826f996be323ef89bf44aa0
|
Provenance
The following attestation bundles were made for sqlite_ai-0.7.3-py3-none-macosx_11_0_arm64.whl:
Publisher:
python-package.yml on sqliteai/sqlite-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqlite_ai-0.7.3-py3-none-macosx_11_0_arm64.whl -
Subject digest:
e40b1e6f69ad52e9b4561d3d88a47930da7db246dcbf3d0d21e454d19a32d748 - Sigstore transparency entry: 555661354
- Sigstore integration time:
-
Permalink:
sqliteai/sqlite-ai@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sqliteai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file sqlite_ai-0.7.3-py3-none-macosx_10_9_x86_64.whl.
File metadata
- Download URL: sqlite_ai-0.7.3-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0eda0a68b7eac0d4efc10b98e3856d5012eef09559a7c823b0c2aae9f61114a
|
|
| MD5 |
2ab53b6ada26f77f6d15ec7c88402d48
|
|
| BLAKE2b-256 |
7b73410790f1ec4b7a34e28b5e96c90f8a7d447b330d5cbce7ceb669fc1a1d36
|
Provenance
The following attestation bundles were made for sqlite_ai-0.7.3-py3-none-macosx_10_9_x86_64.whl:
Publisher:
python-package.yml on sqliteai/sqlite-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sqlite_ai-0.7.3-py3-none-macosx_10_9_x86_64.whl -
Subject digest:
c0eda0a68b7eac0d4efc10b98e3856d5012eef09559a7c823b0c2aae9f61114a - Sigstore transparency entry: 555661520
- Sigstore integration time:
-
Permalink:
sqliteai/sqlite-ai@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sqliteai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@74b9f1a35cfdeb8231ee55490112a9b6c44665f1 -
Trigger Event:
workflow_run
-
Statement type: