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

Uploaded Python 3Windows x86-64

sqlite_ai-0.6.2-py3-none-manylinux2014_x86_64.whl (11.5 MB view details)

Uploaded Python 3

sqlite_ai-0.6.2-py3-none-manylinux2014_aarch64.whl (9.4 MB view details)

Uploaded Python 3

sqlite_ai-0.6.2-py3-none-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.6.2-py3-none-macosx_10_9_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file sqlite_ai-0.6.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.6.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sqlite_ai-0.6.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fb658ec072fa6c55c39135c9f54d1a196a6e99b0b17eebd83b64cc4941c5600a
MD5 c33368b98583e0c80b15d83124812e57
BLAKE2b-256 1abd4c82f7da0361185632b2aed41ada5a67c0da08ca078255c8530b15b19d36

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65d84bbdda120b5532f62dce8d176002c673711ceb7badf0a7ff2a8df2e61144
MD5 5c8a8f0b731b23788caa9104904096ba
BLAKE2b-256 4cc5626ba5560294c70e637ba2f9f37a6c338aa662fc2e6d4b8d07ce3dab7321

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8b70920c09c4f4be953035a6cea62ae8c7d0859c8f909c161cce076648386388
MD5 ec9af89a86e05bbd76617c07779db375
BLAKE2b-256 47e0edbf81e38876020150a6dea2eb5e01e9fd63616c78bc3ec493573587aa4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd172ab2a4b83f1aa29a2c0f396555080ee4ac09f9ec204b63e3338e1f376280
MD5 9bd1f76f7e6bf65b6486275d242bdb84
BLAKE2b-256 90b52ebdf5163c4fb0f553318cc9a95220e48d4f85ab4e40609b331b16d039e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d391d1ec3f1a065e7830ab19ef141a14dd8d90ed9570c6a77f04fed34c0629dd
MD5 6007c41b0ff5b3d6ea0b06931fdac22d
BLAKE2b-256 c3ab6580523d521eaa815211f52e021c0a0607eaaed5a7f4c1a22c35ee7be69d

See more details on using hashes here.

Provenance

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