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

Uploaded Python 3Windows x86-64

sqlite_ai-1.0.2-py3-none-manylinux2014_x86_64.whl (22.1 MB view details)

Uploaded Python 3

sqlite_ai-1.0.2-py3-none-manylinux2014_aarch64.whl (17.9 MB view details)

Uploaded Python 3

sqlite_ai-1.0.2-py3-none-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-1.0.2-py3-none-macosx_10_9_x86_64.whl (4.5 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: sqlite_ai-1.0.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 21.6 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-1.0.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4ee62596479bffa2e2f156341f5ce095e8a469a0e512dd44faa600ad24814e22
MD5 801f10b723b344e7f3ceeea353b82aa9
BLAKE2b-256 cd6bca306ba0f6193f7de2166d9b1e647c0a8c8b52958b8522a8bc91132649b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 97517c8d0e7be7f637b48f7288377ad10e2658403824bed3c2241af827f59205
MD5 c0cfcd20e40083bb914f088dde7fa1fd
BLAKE2b-256 ec60bb282053c176b2b08b9df9100135cea805efb02a9798cfe773ba2aa6a2f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c2cfc9452fc910b3bf8c8dfcf7982de4c541e684579484ab3d326be987376ea
MD5 c18f641c5e1391ab4206291d1958ec12
BLAKE2b-256 b0cbefba1d8013191f4da7c382502403892a0831dd0d016a763d6652725bf83b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 648762e4f07fd1f0f3bcce997cbb5229c438f22145887b753efc1977d1c0192f
MD5 964f178d257db2cda1d62671464dd27b
BLAKE2b-256 6a06587052bc26de44bc57f654188f26ca5947116b7af6f5b2aa17bb553347b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-1.0.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 37ccce7c7e16d287512c501fdceeb30fafcfb66db6ee7af0365610da0e135224
MD5 d330a33d2a78f87607c92710abf37d18
BLAKE2b-256 902b6a7facec8de7f61288fe3473124673aa016540a65239e85078bb286d3d48

See more details on using hashes here.

Provenance

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