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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

sqlite_ai-0.6.8-py3-none-manylinux2014_aarch64.whl (14.1 MB view details)

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.6.8-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.6.8-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.6.8-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.6.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 586786916d916f982bb34d64be84f067af908fa4371fc51de780cf2929c988ec
MD5 1791a9bbfcbcd8c65ea661e3a117e5e7
BLAKE2b-256 74cffe827f0274ca21cd444d9a236ff719c30cce1fcf74bfab1524d531d6f787

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.8-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a50c2b326cc716def62261cb75084373a8342bede7f775284a094b1cea279cd
MD5 9a831100757dcf9a1ecd297d2683148b
BLAKE2b-256 30d9849623adfda7ceec5cce3059ae17a8990e14e51de7dfc9718241ddfe0b79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.8-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f04adb6e7ef222c346b9aac2c1f29ac0e7777c0bd8b6b448f63029ac3f1457e
MD5 7639df45fc96f88d15fcbbc57cb5577f
BLAKE2b-256 5b2756b0f69a87b75f7b9b0b2deefa722b6c3a85d988bf953ac71f4c8af6ab34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c88847c8f9c30af0b8da1ebd2ed1934dff4f23ef6f591b1ef715054ac094f8e5
MD5 eb3aa92c9c3e5a79eed356bac507dc4a
BLAKE2b-256 2f8f81e7cbec97bbc4a0b8f473a6df94fbade94634189f382f3e85b378a96c2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.8-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6fdabf051aeec57f2300cf284901a490f00325ca47779198b3541de31fa85010
MD5 6fce56294cceaa3b9f1ff0a3f455f07e
BLAKE2b-256 947e6180e64b82548e45572e669e5fb075d9acc71f3219ebb3c7e76e2a84547c

See more details on using hashes here.

Provenance

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