Skip to main content

Python prebuilt binaries for SQLite Vector extension for all supported platforms and architectures.

Project description

SQLite Vector Python package

This package provides the sqlite-vector extension prebuilt binaries for multiple platforms and architectures.

SQLite Vector

SQLite Vector is a cross-platform, ultra-efficient SQLite extension that brings vector search capabilities to your embedded database. It works seamlessly on iOS, Android, Windows, Linux, and macOS, using just 30MB of memory by default. With support for Float32, Float16, BFloat16, Int8, and UInt8, and highly optimized distance functions, it's the ideal solution for Edge AI applications.

More details on the official repository sqliteai/sqlite-vector.

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 sqlite_vector.binaries vector.so
Windows (CPU) x86_64 sqlite_vector.binaries vector.dll
macOS (CPU) x86_64/arm64 sqlite_vector.binaries vector.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-vector extension
# pip will install the correct binary package for your platform and architecture
ext_path = importlib.resources.files("sqlite_vector.binaries") / "vector"

conn.enable_load_extension(True)
conn.load_extension(str(ext_path))
conn.enable_load_extension(False)


# Now you can use sqlite-vector features in your SQL queries
print(conn.execute("SELECT vector_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.

sqliteai_vector-1.0.0-py3-none-win_amd64.whl (85.3 kB view details)

Uploaded Python 3Windows x86-64

sqliteai_vector-1.0.0-py3-none-macosx_11_0_arm64.whl (144.1 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

sqliteai_vector-1.0.0-py3-none-macosx_10_9_x86_64.whl (144.1 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file sqliteai_vector-1.0.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for sqliteai_vector-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 80eeddcbd7e41bd99c9e267de8aee6fdc04452d49a7168537bc7416059747900
MD5 145911857dd4ac6bbae975ff08eea32e
BLAKE2b-256 bb00ddce58f23164d65fd166f60e545120a7124ea38be33c23e67589251e7b28

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqliteai_vector-1.0.0-py3-none-win_amd64.whl:

Publisher: python-package.yml on sqliteai/sqlite-vector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqliteai_vector-1.0.0-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sqliteai_vector-1.0.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 108c56a3b11d36fd5b807b9d08169f10ba763cbabc569a7f0029c09d43ca066b
MD5 ea1bd57275fe93236e4c328cad2a5849
BLAKE2b-256 10fac8c067b3a430351e828e686afd70a1ab736ddb73a01236d3e3ab3566fa5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqliteai_vector-1.0.0-py3-none-manylinux2014_x86_64.whl:

Publisher: python-package.yml on sqliteai/sqlite-vector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqliteai_vector-1.0.0-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sqliteai_vector-1.0.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f9428101b02f633a7e1dde766edcf979827a97ec4ff113d3cd060739297e68fc
MD5 4514ce40627252b33f3e0a248d50bd51
BLAKE2b-256 621eac1bbd2f444b8b3fb3dd72b798cd52003c3ab2b80420049868a5280496af

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqliteai_vector-1.0.0-py3-none-manylinux2014_aarch64.whl:

Publisher: python-package.yml on sqliteai/sqlite-vector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqliteai_vector-1.0.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqliteai_vector-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f52dede7372e67b9f219bd2163e4fd246eb867debee5f4ad825bab998a08812
MD5 bbb0842c20844a052ce71ff8bca7eb1a
BLAKE2b-256 0f6c800d73d53b77d6dae6b11796ae8ce6bce6d5745b851900157b56a85a3e89

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqliteai_vector-1.0.0-py3-none-macosx_11_0_arm64.whl:

Publisher: python-package.yml on sqliteai/sqlite-vector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sqliteai_vector-1.0.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for sqliteai_vector-1.0.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e6724447b32e00342cab3ee67734c918d87ab2caa336a458f48dd4fe05830f9d
MD5 77a5b4f68349fec212080f2b24f8d16c
BLAKE2b-256 2b4077ea9053e9538d097d71ce944e7fe9f356648e5acf39adc3983b01be9287

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqliteai_vector-1.0.0-py3-none-macosx_10_9_x86_64.whl:

Publisher: python-package.yml on sqliteai/sqlite-vector

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