Skip to main content

Kōji - Hybrid SQL + Recursive + Vector Database

Project description

Kōji Python Bindings

Python bindings for Kōji, the hybrid SQL + Recursive + Vector database.

Installation

pip install koji

Quick Start

import pyarrow as pa
import koji

# Create in-memory database
db = koji.open_memory()

# Create table with initial data (schema is inferred from the RecordBatch)
data = pa.table({"id": [1, 2], "name": ["Alice", "Bob"]})
db.create_table_from_batch("users", data)

# Insert additional data
more = pa.table({"id": [3], "name": ["Carol"]})
db.insert("users", more)

# Query
result = db.query("SELECT * FROM users")
print(result.to_pandas())

Features

  • Relational queries via SQL
  • Recursive CTEs for graph traversal
  • Vector similarity search with automatic indexing
  • Zero-copy data interchange with PyArrow

Documentation

See the full documentation.

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.

koji_db-0.2.1-cp39-abi3-win_amd64.whl (17.1 MB view details)

Uploaded CPython 3.9+Windows x86-64

koji_db-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

koji_db-0.2.1-cp39-abi3-macosx_11_0_arm64.whl (16.5 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

koji_db-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl (17.6 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file koji_db-0.2.1-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: koji_db-0.2.1-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 17.1 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for koji_db-0.2.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 740782fb94db5fba015c859955761e654929c80ce6ad8de713da2793f6bc11db
MD5 4d2fa20fd6f13f1ce52feff23b165527
BLAKE2b-256 7be8f5a747412fb0304a422ffe60f1542f60885d035548869e107dc182f14b6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1-cp39-abi3-win_amd64.whl:

Publisher: release.yml on TuckerTucker/tkr-koji

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

File details

Details for the file koji_db-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for koji_db-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a978db7f7bee0acc0147628c70e32b94252d826fa694438d89b3c889ead6db7
MD5 d584a2bed9c202015265be72b25d051a
BLAKE2b-256 3ebd3de3c4a0c53ff0a71a81a9ac9d25cbfe36791d087b4bcad01ae081de4d7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on TuckerTucker/tkr-koji

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

File details

Details for the file koji_db-0.2.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for koji_db-0.2.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0bd0582c03f60c3ed27e03075ed8e74e481e29842dca5425441b57f9b04c42bd
MD5 bb0763da76c78630aa26ec5cf841fbcd
BLAKE2b-256 56f516b9342806699abcfc3cc16b08fbdf7c4cbc7a99210f6cac421d8df2af78

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on TuckerTucker/tkr-koji

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

File details

Details for the file koji_db-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for koji_db-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 638d59deb64dc7f3524975eeb5b5f9edb7b8b8c902b09cc647c33eb168260604
MD5 6a7eaa6724d529de49bbf586e3a4afa6
BLAKE2b-256 73d5ca6cfddbdb561e411a1ce32454994d63c7d9a45209b3c86044dd91b55ba5

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on TuckerTucker/tkr-koji

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