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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.7.59-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.59-py3-none-win_amd64.whl.

File metadata

  • Download URL: sqlite_ai-0.7.59-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.59-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 55df0e42b87d45d3f0ab96035784513d80ba2466ad32f17dec375961e4647821
MD5 ff063173993e2b17479ce451a56f4bad
BLAKE2b-256 7466a676107b914b26bc0c542d37f987fe6cbe263f28a03f2d224f95c78ca9d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.59-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23d2280aa4a19304e856189f13d581ba8bf02adeecf24b258bb7db17046649cd
MD5 4d389195c596698a9bc841092983a679
BLAKE2b-256 a95a8b3ffb29b953d850888acb29f2b5820956658664f421c97e87cd95343900

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.59-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19af1fda672ec4cc040f7d390ee0f12c54bf1a897ee14f25de36924e6ccc4b45
MD5 693d5ad02e17d558a207be492765f3b5
BLAKE2b-256 2b429604edbec54fc2fb41f9825ba345e007b9d887fede5bdf7ddfd938c07124

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.59-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df709b806cf0f6d58c0851bb43f548ff8bd20909a791c4888a07eb3a5c6ed972
MD5 9cd7cdd0f658367bf113adca99b77f64
BLAKE2b-256 9666b162678a259e78a43fd7be9f93c7ccb8a2f9168795abbf77e1242a3e2d9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.7.59-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a5622a218c765edf8d805d846a7d6aac2ded5f2fc36e878534e65d77995ceb98
MD5 5139371437f3c8114c40376ba5905321
BLAKE2b-256 3310708f846e00135a9303ba137940bc79d325087b49951bb54c502b8573c388

See more details on using hashes here.

Provenance

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