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. tml).

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.1rc6-cp39-abi3-win_amd64.whl (17.1 MB view details)

Uploaded CPython 3.9+Windows x86-64

koji_db-0.2.1rc6-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.1rc6-cp39-abi3-macosx_11_0_arm64.whl (16.5 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

koji_db-0.2.1rc6-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.1rc6-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: koji_db-0.2.1rc6-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.1rc6-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e4716953db488fe3e81abf7c0eef8c73d4059990752f7833c830b669f618ea59
MD5 95ba826cab368eccc7a455f7722b5f9b
BLAKE2b-256 0cc09495a891937824f6970c40716bdf01f8fde32cfa43ab6d5adb20cb21bf5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1rc6-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.1rc6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for koji_db-0.2.1rc6-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 81f4b22e99b44ab5762fc46be592c398b6408dcb932fa78dd08f9a4ac3b49f28
MD5 9bf9cc80643f8a3b1501d0feb044de24
BLAKE2b-256 cdccfd55d751b9d65c760396f9f09c850d9d9bd68566ee5af62182b7c1d67f43

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1rc6-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.1rc6-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for koji_db-0.2.1rc6-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ee57c791d6110d64b6ec9d3add95ea9df9e34c335bdc65a5a273f25450bb89d
MD5 9eecf7221e771e756cc35003f74f1cf8
BLAKE2b-256 96a6be863c971e1d41a6a9d4995221da55a8c425fe1862abe860e04ba2b22488

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1rc6-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.1rc6-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for koji_db-0.2.1rc6-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 93c5bb866f5cd6ab3c4aea942305d417e656084d6f7cfa4af5711b1bcb01ec73
MD5 570f01a8684e9646215ab7d6d3487fbe
BLAKE2b-256 7c0df5f6163940d9cb6487bf43b22f1639236949fbe76af640a254e1b6eb5d41

See more details on using hashes here.

Provenance

The following attestation bundles were made for koji_db-0.2.1rc6-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