Kōji Python Bindings
Python bindings for Kōji, the hybrid SQL + Recursive + Vector database.
Installation
pip install koji-db
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.
Metadata
Release files for koji-db 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| koji_db-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| koji_db-0.6.1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| koji_db-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 73.7 MB
Release files / koji_db-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | koji_db-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 27.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
19deb542c609a0426c14aefbec9bd8ad31404fec65bbd4c966998b41011dcf0e
|
|
BLAKE2b-256 checksum How to use checksums |
cd54c3e11041761d16689546f7ba2f93550b50a77eaa610523acfc4e290c7254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / koji_db-0.6.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | koji_db-0.6.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 22.2 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3314bfd8b1e0f53b6cb3a35b4f01121ffa9411c7f9af8cd64aa73ba91883c95f
|
|
BLAKE2b-256 checksum How to use checksums |
d78db14520b45a085da568573f6d30536a7c359e80de737428fa3b2d4ef1b385
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / koji_db-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | koji_db-0.6.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 24.3 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
3b767ba35efb5c4521ddb300ca912dacd0e6f1ce36f835d4b87fed42b1923d57
|
|
BLAKE2b-256 checksum How to use checksums |
0cc0952b43147e5a5e968c86308d06e640ca2f24e1f821b79478f1a66b10fbaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logSecurity for koji-db 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for koji_db-0.6.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.