Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sqlite_ai-0.6.7-py3-none-win_amd64.whl (12.2 MB view details)

Uploaded Python 3Windows x86-64

sqlite_ai-0.6.7-py3-none-manylinux2014_x86_64.whl (11.5 MB view details)

Uploaded Python 3

sqlite_ai-0.6.7-py3-none-manylinux2014_aarch64.whl (9.4 MB view details)

Uploaded Python 3

sqlite_ai-0.6.7-py3-none-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.6.7-py3-none-macosx_10_9_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file sqlite_ai-0.6.7-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.6.7-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sqlite_ai-0.6.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0e74fc8dd966ced5e0ed6e9a8e965acf0b0408663fabdda3c1c28af6e188c9b7
MD5 bb252efbc787e9bd1348cb72cd62ff64
BLAKE2b-256 f9d2e4022d55bb04914b3221fac980aaea157f97567f6fb3840d39d831275e8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.6.7-py3-none-win_amd64.whl:

Publisher: python-package.yml on sqliteai/sqlite-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqlite_ai-0.6.7-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.6.7-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4396b6abfbfd639e947a4ec78750338afcc62371a139b48720afa88311da3b3a
MD5 b1aa4f8a93acdc1cbea6717b27fd0838
BLAKE2b-256 b3a4c98f69acde2522c8d2c7e8df899d93a7267d6b432885da8cbb9af04439cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.6.7-py3-none-manylinux2014_x86_64.whl:

Publisher: python-package.yml on sqliteai/sqlite-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqlite_ai-0.6.7-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.6.7-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7ae655f0dd7d8c9f3da1f2bc50c5afdbe5ebe269f85357c13f4dfcf1d93dbe14
MD5 39b48a40982047e15c8490f0d9ac2abb
BLAKE2b-256 cf15a34f80a5e8eb9b4831738d1816e92c42814d10522067f6f4d445aff2e370

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.6.7-py3-none-manylinux2014_aarch64.whl:

Publisher: python-package.yml on sqliteai/sqlite-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqlite_ai-0.6.7-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.6.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef9033da7551afe8d289cf787f6c9d42777cabadb04657881c3d1a44371da822
MD5 919230d37dbd0f678ba167cbb5a3eb49
BLAKE2b-256 1041c9c76831dffcf1cb6ae033f57e926a634dd48da216d6bd5bae8599cb6689

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.6.7-py3-none-macosx_11_0_arm64.whl:

Publisher: python-package.yml on sqliteai/sqlite-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqlite_ai-0.6.7-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.6.7-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 af8c7b23c638d23bcc8782c9419c0128faa9988d903792ccd2532223e62eaabb
MD5 1873f03774751464fa26f6df0350dc77
BLAKE2b-256 4f3ad1e60191b2e2fa982724b92f3845753edc50e8c1104b73cc7ec2c958f7ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.6.7-py3-none-macosx_10_9_x86_64.whl:

Publisher: python-package.yml on sqliteai/sqlite-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page