khora-accel
Rust-accelerated operations for Khora, a knowledge graph + vector + SQL storage library.
This crate provides PyO3 bindings for performance-critical operations:
- MMR (Maximal Marginal Relevance) re-ranking
- Cosine similarity (batched, normalized)
- PageRank
- Entity resolution (fuzzy matching with per-type thresholds)
- Community detection
- Temporal scoring
Installation
pip install khora-accel
khora-accel ships as a source distribution. A Rust toolchain (rustup with a stable cargo on PATH) is required at install time. Maturin compiles the extension automatically as part of the standard PEP 517 build flow.
Usage
Used internally by khora via khora._accel. Direct consumption from user code is not a stable API.
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file khora_accel-0.26.0.tar.gz.
File metadata
- Download URL: khora_accel-0.26.0.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c734420da6bea0911148d613a7c9ea3741be4dfc2a2fbee5669a6fe80db0f7ec
|
|
| MD5 |
7b62578536484cf7bbf432e7b03d194e
|
|
| BLAKE2b-256 |
f659cd11039a604af170f7999d0383d24e078298cbc39ff0b28f73909947834a
|
Provenance
The following attestation bundles were made for khora_accel-0.26.0.tar.gz:
Publisher:
release.yml on DeytaHQ/khora
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
khora_accel-0.26.0.tar.gz -
Subject digest:
c734420da6bea0911148d613a7c9ea3741be4dfc2a2fbee5669a6fe80db0f7ec - Sigstore transparency entry: 2449182610
- Sigstore integration time:
-
Permalink:
DeytaHQ/khora@461536521253809039dc50f6474ddf90ef8c2ac5 -
Branch / Tag:
refs/tags/v0.26.0 - Owner: https://github.com/DeytaHQ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@461536521253809039dc50f6474ddf90ef8c2ac5 -
Trigger Event:
push
-
Statement type: