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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.0-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.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8862770225639fe8c845d4415a7695c5afde37cf7c6de397e3e444061d516182
MD5 9fd2cb5ec1d48d9e1f8c97c3f3334f1b
BLAKE2b-256 8ac15d2855f82ad1466e189a9db911d810adf339fe37d5abe639818e7827488b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 61571148d26d11b5ec115abef3f05d9287f8093bf6145e39793765d602fa23f4
MD5 9d7dbd9df24c9cbae1e0dbff086f2ed1
BLAKE2b-256 f1facc763685ca54c6efaf38ca9b4a4e5b19fc78f5d8abfcfc4763989d45b055

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 258b6d03f478844c1fa347497eb2210afbaf6df54cf227b666ce62891f2b8ce4
MD5 c2f281a34a83cf8cbf1987a2f28ab9ec
BLAKE2b-256 5eddf2309881294480c24ece9c0ef84942cb89ca11d4ff9c8e91c3d03599a66f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 432c96940ce3760556949bc93fe99485170999a076f768ca18ac8f448903b79d
MD5 04eb180ad8c7db4a8dbe3c70d4b3a939
BLAKE2b-256 446f67eccd02d60de7aac0c340a211c16ffc1a64daa9904cc060d16ad3f10979

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7cbd1fb60755fca784932451cfa4344894de92da01559291311ec11f630a3c55
MD5 39b7f88bf8ddd8f299fa62cd6856ebcb
BLAKE2b-256 60afdfff7d9a882ff2c1f23334cbee579305e45494670ecfcb1856893476fb10

See more details on using hashes here.

Provenance

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