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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.58-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.58-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.58-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.58-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 55cebfcd04c7177df221c40dd6a5e71d86a9f8d60bed8c08934dea93d05ddd57
MD5 73b322e8155c89c1de501a6b6f7b36bc
BLAKE2b-256 870a3ec89cfccd366d9072f1304e36fdf11b266a4649c9e306c14644a23e1e9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.58-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aa4058f9700cdc544c883aa86baf00c72fec630ddf5bedaaf91804699c2b8d4e
MD5 bd904e60af924fee139405aa870e95b9
BLAKE2b-256 e444e9b85c52a20e2cded2ff666e823d05d6b5d571f331f68fb5458bdeecd571

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.58-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1c92e267a79ecfd890f03f80e2998bd8581d2f218bd55b05d2eaa0010b602895
MD5 20f7a32277e313e5e7422f98753ea9ff
BLAKE2b-256 330fd666bfc6ddf9155862cc212885f920585a7a3200255602017b5f2085ba60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.58-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c98498d4cd384dd30e8aefa13ece59819a403e2b62cf94a92accfe9f2a71ab73
MD5 c4a0718d6fd23c5edfd31243073d1e64
BLAKE2b-256 8bed3e88d24d120a9e0570918106b9419ffe5efc2e3f190f0e7f49d090644f1a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.58-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fceaa04b550b637e1dabfd967b0ffb05b436341f9b868c34a8be470c62d673c5
MD5 72e2029e65a47def8ebc04ea954cccaf
BLAKE2b-256 343a256f1020495df9d98dd3a2d34cc05884b1f9c1b24c081c9b35694db9f5bd

See more details on using hashes here.

Provenance

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