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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.4-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.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.4-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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f47e5e4d009565e49250649fde1d5a958aa96ef8e6e72f0e88cf321ca7a7a292
MD5 2ffe381b0f53fc6b50ddfd8be238e9bc
BLAKE2b-256 9b8d9928358ba6a6412e0a447ec2648a16da1ad7f22db4bbed1710aa16019ab2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.4-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f615434acc670fcb6311d85586872d08c2c6875a1f79478fc8b4a83e49a7c05
MD5 9a2fc6ff5fc414592bd218bb7030b0d3
BLAKE2b-256 545fc6dc44a403155756967aed2c126fe339d53c2624998656b627f261afb660

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.4-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dc80660b75fd25bd6b955b5818c51eb4f8f281278ee7ed270e41c7ad6f7bda66
MD5 0147b099b851d5cb352ce091c396c7a8
BLAKE2b-256 1848c2e8264124d942fa92c9ef18c296126023378dc91b173cf96e1ec6c2eb2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f70075f592e52071d252acf2842a6a98a63680f156c698260ed735c5689d5863
MD5 0b228fb39410258ae565b4d45f4f788e
BLAKE2b-256 9ad40c2e82692ee6aafd8eb13614f700f21ca3c51c3cda9db7726c0dd728ab74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c7565e38807d4bc087f4c046620d7399b85f0e2cdc299d80e1c09fd6aec5918f
MD5 f958d81a6b6d8db4524fb83873402e8c
BLAKE2b-256 e7f523801b49ff7e44e9c96926a3db115e91b8b1aa4363844987c0fd546d4ba6

See more details on using hashes here.

Provenance

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