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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

sqlite_ai-0.6.0-py3-none-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqlite_ai-0.6.0-py3-none-macosx_10_9_x86_64.whl (3.1 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: sqlite_ai-0.6.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c77eccefed8a4feb59176f0c19c6e1d315750d0668b4d4afac76d1268e9df7c1
MD5 a9a7c28277ca9f1da94723721f387099
BLAKE2b-256 4239d5c0cc1ef560432705ea9950cf46df2b55b9fcdc197849641fd0c9302274

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85fdf5d08f9ffa9c1b4b045fee674fe32c13cc4435360dd1e6e8427bfa25bd66
MD5 6f118e94da4b26348ce9feff190db975
BLAKE2b-256 c4320609cfb6078be11d5cfeaa26406e880763aea57868f3b4664bbf1a7f70a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 47c45682e17a9237455fdec4f558e60ce866ec3a3007e8863c8ca8c813d7acba
MD5 a02c73bbb26cd4e92411d11f1e2b9250
BLAKE2b-256 48799e475dacd927377590da904841213655f494c1a7ea434aa3e9b4eca4cc7a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 541744ab7a5462ddc0b81fb52d612b4898af3ce91a61a4f29c62f1da9f96d306
MD5 799c53a1686f7b4f7f5b81f189270022
BLAKE2b-256 6befc05e60580396727d9d8c90ca9cb63512c3bd8b4e15746d214fe421282d08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sqlite_ai-0.6.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2af00cf42a7146e98ca644da724bf5151276b34dfa2a3ce537022313cf7f549e
MD5 5454f628a63730e4160bea0c496094ea
BLAKE2b-256 a7d1fb5f5ec29090655778846e4ca4510ed931159fcba3cbcb0f6c1fef669e83

See more details on using hashes here.

Provenance

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