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.7.57-py3-none-win_amd64.whl (17.7 MB view details)

Uploaded Python 3Windows x86-64

sqlite_ai-0.7.57-py3-none-manylinux2014_x86_64.whl (17.1 MB view details)

Uploaded Python 3

sqlite_ai-0.7.57-py3-none-manylinux2014_aarch64.whl (14.2 MB view details)

Uploaded Python 3

sqlite_ai-0.7.57-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.57-py3-none-macosx_10_9_x86_64.whl (3.3 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: sqlite_ai-0.7.57-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

Hashes for sqlite_ai-0.7.57-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0d51cf93baae6ab24895b02418506067a5258a6e4bd8061756f47e90c2ddd3fe
MD5 a3f3189b60f8836cc8430ca5a22e5025
BLAKE2b-256 1842377c88f7e91cb2a829c931a8b8eed050aa08069fb4a990834c9932d1d431

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.7.57-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.7.57-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.7.57-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1dfd67a751e04ecce37b9070785ca4cadc8c143fc94edb57f20e7b160b283010
MD5 a78e52a91ec1eded5e88d8e99c6068fd
BLAKE2b-256 cc8e7771ef27e091eff8b4c2f7300df38517785afba33e69ba6b6214c65ba5dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.7.57-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.7.57-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.7.57-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 480e39d0678c4c023bec772f811771246379cc6f877052e3a0b73e41a910c8ea
MD5 fdd6de20fbb3a4b39844457bf734c2e9
BLAKE2b-256 888e17152ec789f6bc7d9a02928752c015b3da68fe13bfebc4e52983a12fc202

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.7.57-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.7.57-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.7.57-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b8e9f3d8e718f1e2bf3f5e5c79cacf22d0ce7b95ffc6f835bfb69c189b6ba1d
MD5 66d3c26032b9ae0565e434ec1c86ad83
BLAKE2b-256 9ee2685313cba40febc12fada447f2b12297d7a7b44988ccff0752deecc70bc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.7.57-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.7.57-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for sqlite_ai-0.7.57-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d141dc66e889f9268d1744ab8be847b7dbccff19cfd55253688a2bf668475c00
MD5 fd6c35efc1ee4174a0b5ca97ad58be32
BLAKE2b-256 90f4b822b7da13f15b868ff70d952b24cbea93f5c77601c3d6130b9cf5ae635b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_ai-0.7.57-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