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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.3-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.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.3-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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3f6bdc53de3e841b24ac84a4736891c6d5e7a6d6f87f2c2205ea668de4eb674c
MD5 3c4911da149a545bb6533eaec5a6cf28
BLAKE2b-256 a22d914e87e6ef96b665b6649397d314f4b801ce0e9b4c33b64e8f0836dc7b7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82a8842c000cea200713994fdfabab77be3105d609ddf944a4102197d0cfc015
MD5 49abeac298fdaf03bed31e02e69b63c4
BLAKE2b-256 69181decf69ceee6575c596f869c9321b921c29a13a98735e344e79dd5e6d123

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 922a8b576534f05c698e1336e6d481774332f267637a77e4ba29756143da90ba
MD5 58131c37f8c134a33f58a7285fcc73a6
BLAKE2b-256 041f5bd5e2f9b45bdf18e370efe64d4d1b0828df04a1600c503fd2b6ca973d6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e40b1e6f69ad52e9b4561d3d88a47930da7db246dcbf3d0d21e454d19a32d748
MD5 3cbca44de41fea6fe27b54a1d0af07cd
BLAKE2b-256 0d9baf0a036520c9103b7e6fd6d873c426835841e826f996be323ef89bf44aa0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.3-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c0eda0a68b7eac0d4efc10b98e3856d5012eef09559a7c823b0c2aae9f61114a
MD5 2ab53b6ada26f77f6d15ec7c88402d48
BLAKE2b-256 7b73410790f1ec4b7a34e28b5e96c90f8a7d447b330d5cbce7ceb669fc1a1d36

See more details on using hashes here.

Provenance

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