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.24.0.tar.gz.
File metadata
- Download URL: khora_accel-0.24.0.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b40e9390ae982e7a6c6bcee477bc3c5060652b2c89094453ca0dcee03b85b025
|
|
| MD5 |
3594270e26a411403c4fda6218ece6e7
|
|
| BLAKE2b-256 |
7c267e327556c8ec21f8065eb4c10b5762de10d1b8b63cca99b5434a714ab8fa
|
Provenance
The following attestation bundles were made for khora_accel-0.24.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.24.0.tar.gz -
Subject digest:
b40e9390ae982e7a6c6bcee477bc3c5060652b2c89094453ca0dcee03b85b025 - Sigstore transparency entry: 2250580778
- Sigstore integration time:
-
Permalink:
DeytaHQ/khora@edef1d4b227dc04ef4c44a349dfbd3186987a0b8 -
Branch / Tag:
refs/tags/v0.24.0 - Owner: https://github.com/DeytaHQ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@edef1d4b227dc04ef4c44a349dfbd3186987a0b8 -
Trigger Event:
push
-
Statement type: