Skip to main content

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.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for sqlite-ai 1.0.6
File
sqlite_ai-1.0.6-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
sqlite_ai-1.0.6-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
sqlite_ai-1.0.6-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
sqlite_ai-1.0.6-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
sqlite_ai-1.0.6-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.6-py3-none-win_amd64.whl

Download URL sqlite_ai-1.0.6-py3-none-win_amd64.whl
Size 21.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3cbdfd9ca0ff36748e6c0244c6b67b3b79fd314c3689cb65f76c6b6e1cf60dbd
BLAKE2b-256 checksum
How to use checksums
fd6b3a46d2d2599a6827147762f31fd56ff9b2274406bfebdc641b1b27788f13
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 24, 2026.

Transparency log

Release files / sqlite_ai-1.0.6-py3-none-manylinux2014_x86_64.whl

Download URL sqlite_ai-1.0.6-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
0eeef1ed04bb506c204a57ce7c5105cb4512f979d0f5b211b4adf27fc7009fe9
BLAKE2b-256 checksum
How to use checksums
980622f4d92d5a1dedd5180224b3989e9c9b278c547da76f9a6c20d9e6ddf504
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 24, 2026.

Transparency log

Release files / sqlite_ai-1.0.6-py3-none-manylinux2014_aarch64.whl

Download URL sqlite_ai-1.0.6-py3-none-manylinux2014_aarch64.whl
Size 17.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
326f3825aa51d927f18eaa6e62b8b046a1af2d110a5f5da1bb2bd43d379adadd
BLAKE2b-256 checksum
How to use checksums
8b76f56665215deb5677eca9d8f3105ee7e57503fbe34d1039e71917e5c8dc15
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 24, 2026.

Transparency log

Release files / sqlite_ai-1.0.6-py3-none-macosx_11_0_arm64.whl

Download URL sqlite_ai-1.0.6-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
71c4df7c947747675631c8d85d4a122f041c8228faa74c974d8d0d98f3337e41
BLAKE2b-256 checksum
How to use checksums
43d5e2d8031e1cab25a2ea19e88e560eb5a28afb49dd3758946a63502145cfcd
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 24, 2026.

Transparency log

Release files / sqlite_ai-1.0.6-py3-none-macosx_10_9_x86_64.whl

Download URL sqlite_ai-1.0.6-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
2d3ff4604a127ab63265482b91480fb1cb68a159656ebe782c33fce9444d3b70
BLAKE2b-256 checksum
How to use checksums
4512dee0df001f7fb85d051a87d51ce0c26b3590dac47d60b4cae47d44a82d32
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.8

5 release files

1.0.7

5 release files

This release

1.0.6 This release

5 release files

1.0.5

5 release files

1.0.4

5 release files

1.0.2

5 release files

1.0.0

5 release files

0.7.59

5 release files

0.7.58

5 release files

0.7.57

5 release files

0.7.5

5 release files

0.7.4

5 release files

0.7.3

5 release files

0.7.2

5 release files

0.7.1

5 release files

0.7.0

5 release files

0.6.8

5 release files

0.6.7

5 release files

0.6.2

5 release files

0.6.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page