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

Uploaded Python 3Windows x86-64

sqlite_ai-1.0.4-py3-none-manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded Python 3

sqlite_ai-1.0.4-py3-none-manylinux2014_aarch64.whl (17.9 MB view details)

Uploaded Python 3

sqlite_ai-1.0.4-py3-none-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-1.0.4-py3-none-macosx_10_9_x86_64.whl (4.5 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: sqlite_ai-1.0.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 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-1.0.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 91e105990555262f0094cf8395b4714d7b64bd6ab6c237ed8d23aad2cd63f5fa
MD5 6651f0d8117f85a37ea8a5ec0afa279b
BLAKE2b-256 bb97872986b9cb651aef65fc3a6d4005ad4a96ac6f330ada49dcddda75c43757

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.4-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 848f1ea7fe0dc992a77fe9cf7cfee7384b11bbc3281831fe46ab2c4c8e2bdac5
MD5 ae1b92f7def707a4c43a6cae8d482b6c
BLAKE2b-256 d515724fd3088709f5170aeec2dd99b8e962db64d01207eb5b547302469a4d02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.4-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 17f5c72b4b9302c70873de8ef1dc73cbf55d5ecbe777eb2480d1cfc0d3b0f739
MD5 0d9a47a97fbd02a73b3fc76badb6845d
BLAKE2b-256 381e65a02d850ffb915724fc273de8ff06410abbe88f7c612b0b7fc85f874c14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 45fa8f678420e1ef73d8c76a032f6a8f51ba5f9f164eee1cbb18016e0c5e1899
MD5 cec0f3c89a0b9e1ea4ed68b6ed8c11b1
BLAKE2b-256 2f361f61ad8c73c6c36e8a5c34b818274e2ceb9e5b962d3bee37e217ca7d6518

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9fe6f4ff5695e1eb80f5c912b38458c91099002d32a27b9916750a844b1cf3bd
MD5 bd969cb17b96b3852bf1cc0c15bbf581
BLAKE2b-256 735114db45db2dd2d7b58000367eb2a3354b4219f94903c7e8b2e1ae40da0031

See more details on using hashes here.

Provenance

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