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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.5-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.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.5-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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6609c5cf9aece0fe0726ddfa07ea13c8951bc3e9ca276e8b4d6b539be7062680
MD5 bb96e45432cdc7ec7dd5ca11be7ecb3f
BLAKE2b-256 3dc3bde0f118ccebbcbd8610ba027a29bed34ce41f20d276378c8e0c4d3b55b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.5-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7870cf5591317855fac641618d15fd0a6ac7b37c80a31fc8c6570094a1a82e3b
MD5 f7a2930bbbe00806a525ae7b0298406a
BLAKE2b-256 5370d1137c841d5c7ce8c224d3cc4275ea323f3d79f5001e1cc1eb3aa186efcb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.5-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e880ad7eb1dcd04b80d230162d5837f69f602324a724b78e2b51ffec41a6c702
MD5 2bd8eea1127687f4fb9ead56ba994e87
BLAKE2b-256 facd7e7f3425e7a47d9003510c704f1e6fb300101ea444d2033b707157c19b4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d68d892aa1cf4e5daba616af5194be19a2b74d0694de3f82ee6f2219b4573af4
MD5 77784a4402d59ce5a23a91448963395a
BLAKE2b-256 fb5ad2ed42ebe34267d65615ea28542e8d39d8264266964cd80b08d7acdc0b94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.5-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dbdfdd1eab07486ef2b613a31826e6be9e2b9473609684e41e7b631f0ec00fba
MD5 5fb0675a90f56ab2fbb9c1640b050460
BLAKE2b-256 7ea0d1055e95299c2bbfec691497cc2367d68fa3eced2d8b7734d4d3087ac5eb

See more details on using hashes here.

Provenance

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