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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.55-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.55-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.55-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.55-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6db4be65d82030bfedf152f785fc56e4e90b4d9daf0260c16a2badde0dfeff26
MD5 6b27d5054ebc81bebc62a8621e960c58
BLAKE2b-256 938e398f9601be8dce108905e7e9125ab088c74cbe2f025ca28e1ace56f939e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.55-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d4caa1e47a14b84ed4f9952c8108b225a4d1bbd96d77fc7a2137c4be620297a
MD5 82c8506479fef62c881bfb73489dec32
BLAKE2b-256 b65caaef88b2fe5c321b8d8a25284534ba41da9fb994a36f9d9e64b466b034bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.55-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2fad5d397610b5b629b68cfb3531d913e2f1d44ba46ad222367edb1d8c8871b4
MD5 53716d497f69ee2ae8d050d5fcaec480
BLAKE2b-256 b1c60cdddc3cf718c15c7c9bab7bddbba436dc5330b0978e10b37a0f4c63a12b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.55-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27948b3d7bb9d3bbda0d8c0121768df4cf5174f2a1b057c06c7024d4e32c5e2f
MD5 7811f70649d0d05414e14c366858c099
BLAKE2b-256 0baddb72e6cbde48579ec21ded52f118a5923283bcf95c48e358cbf51c88c9c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.55-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 92dbd7f51d2acc4ef8e88ade75332d03c2b56aad7457eb4d13c0eddf8dd96c6e
MD5 d54c6ef9711bf342c9b263371e7baa10
BLAKE2b-256 11b819a5806de70af77966a9b24e1bd3dd96c4db7bdbab1eab207aeea7825344

See more details on using hashes here.

Provenance

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