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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.2-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.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 838f704273dd3867cd7b7375391d267f3d46c3173793ef516bc1825b761dd4b2
MD5 3a8538236607ed3de698312cfc23289a
BLAKE2b-256 b431668e2ea8292c5eebc32ad396aa782ba6eab2620fe533f77a630c1a5d6d15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 305b9ed02741a0520fd412fcec45efdb7588bb1d0b33d8a0c252daf3e5d6146f
MD5 480ab166f3e4631e06d93d31c6e0beb7
BLAKE2b-256 d07cb747d71d4fd3d402d7ffe53f402dd988e6338908420fb9556c1eee72b9ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f54db0e67a3bb6a129775e795e1534f92e9525a263df897f1596038d8629cb8e
MD5 08f762bb311120091bf547bc31512196
BLAKE2b-256 762ad0470f432cc741d744eec0960d8e13f739295a0081995b0a89b8eaa5b149

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e2742e48980675882178cfc154ed309e8be44b4bfb4046ece7375d561589c64
MD5 0f7f25cdf2448304b524f38c38d8002a
BLAKE2b-256 9cd69d672a196985ba1ece24ec304b3f26bc17acea562419d4f06a15c4c8f90d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1577d6e56f6d84b002a03a95dcdd40280c201269d6d7e26059358d0818ec99f6
MD5 262e2c21525718e560b6f20e22c0115c
BLAKE2b-256 a1646fc246758d8896f35fafab67692bf8915f9847806e9f61f14cd30bd4ccec

See more details on using hashes here.

Provenance

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