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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.1-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.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3f0fe5450ccd8e22c9eed26834c59c7be9afc0e88e9f963a101918106531d4a9
MD5 3a4b8c48d44c21b8b1f5800dd540af58
BLAKE2b-256 1e5f4c06966df1669be9913012f930d01236ca4dbbd32dfb0427212aa7d35071

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18252dea7228c6c5d60b8c5d1bcaee3dd185716942eced2e8b437622e018099c
MD5 e0904880f609f062a500a9a94d73a059
BLAKE2b-256 fde200b6278ab9bb08fb799846cc2fdbe498499a6efa23a00465b999c891ae76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 23626d733c50512f8ad753509bfbd463297f75a004f5b89df6653a06318a987d
MD5 7d08c34c263357878b2c2d05ffda941b
BLAKE2b-256 d991145078eb797a86830a033eeed8f799db60ef1f8608f7d3a6f949a93037b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 194e65cbe22fa1b7bb8f2f406395e875661759afd6e7b7dab284754f4d88daf0
MD5 65aecbed282a63759cedc09faa0f7391
BLAKE2b-256 c187d2753d5cf19bb755b09a5a0b53d4c6f73db0388956367101798d1aeb8687

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bbdafcaa00517d5b77b0bdcffbb49572af5b0fa4c884b056dd9702156816ce9d
MD5 00a3c9545f168b009ddf4294b49c9593
BLAKE2b-256 3ebb5e58ddbf6e0ac270815e0cd609d24f2641958c086c02ce6d433cbd5671bc

See more details on using hashes here.

Provenance

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