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())
Metadata
Release files for sqlite-ai 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| sqlite_ai-1.0.8-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| sqlite_ai-1.0.8-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| sqlite_ai-1.0.8-py3-none-manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| sqlite_ai-1.0.8-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| sqlite_ai-1.0.8-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details |
Total release size: 70.6 MB
Release files / sqlite_ai-1.0.8-py3-none-win_amd64.whl
| Download URL | sqlite_ai-1.0.8-py3-none-win_amd64.whl |
|---|---|
| Size | 21.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6155e0f0d497948ab66d0fc0b895610d72d97833099ef12c62015f091c774231
|
|
BLAKE2b-256 checksum How to use checksums |
05b8b3c435f664381718a45babf4b3c804ab516d4286fed5aed50bf269f4fabe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / sqlite_ai-1.0.8-py3-none-manylinux2014_x86_64.whl
| Download URL | sqlite_ai-1.0.8-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 22.1 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
4ab64d970652e1763f3eecd24be2289ccafed4e2a475a66ea6632efc267912df
|
|
BLAKE2b-256 checksum How to use checksums |
deac613f2839229f02f05f0e1917ceac05f3bbdd2e188ece41527404e12018c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / sqlite_ai-1.0.8-py3-none-manylinux2014_aarch64.whl
| Download URL | sqlite_ai-1.0.8-py3-none-manylinux2014_aarch64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
0c199db18f211d62d56dcb2e637df698faf5dd2d19d3f7f8ab0a4573f47142cd
|
|
BLAKE2b-256 checksum How to use checksums |
c11fc3f2a408b86f66cfddc65ec17fb14ca7b349e586c244bc41e15298c52b34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / sqlite_ai-1.0.8-py3-none-macosx_11_0_arm64.whl
| Download URL | sqlite_ai-1.0.8-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ff2dd5eae89dfd1872565596535329292b3e17858640999e87885a3e54f0c8c2
|
|
BLAKE2b-256 checksum How to use checksums |
1ca124e19486e8143b4ae21d2cd94779e472faa8e2eec5b474a55b128f95ba20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / sqlite_ai-1.0.8-py3-none-macosx_10_9_x86_64.whl
| Download URL | sqlite_ai-1.0.8-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f7d81cb662dc1b927e201343c3f6b659bc6e2e08da24a1e3add0c4ac7643bf2
|
|
BLAKE2b-256 checksum How to use checksums |
dd0ad94ba94c202c5b87d2b27338a614284a25854f2e84bc50595e79c1bcecfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency log