Rust-accelerated operations for Khora (MMR, cosine, PageRank, entity resolution, community detection)
Project description
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
Project details
Release history Release notifications | RSS feed
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.10.5.tar.gz.
File metadata
- Download URL: khora_accel-0.10.5.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da794743d54b44335c90eee64c2a4518096b9629b1fb14df29e719b557f0e41d
|
|
| MD5 |
854fe1f29666be8e90969a1d3cb7ecea
|
|
| BLAKE2b-256 |
ef3e7f07e3d4cb48194f5eee9090c0933c6410ed7127762362c0403733efeb64
|
Provenance
The following attestation bundles were made for khora_accel-0.10.5.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.10.5.tar.gz -
Subject digest:
da794743d54b44335c90eee64c2a4518096b9629b1fb14df29e719b557f0e41d - Sigstore transparency entry: 1519595828
- Sigstore integration time:
-
Permalink:
DeytaHQ/khora@bed6b335964e916bda7c65c6a56ed3176767a3b4 -
Branch / Tag:
refs/tags/v0.10.5 - Owner: https://github.com/DeytaHQ
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bed6b335964e916bda7c65c6a56ed3176767a3b4 -
Trigger Event:
push
-
Statement type: