Metadata-Version: 2.4
Name: khora-accel
Version: 0.11.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Summary: Rust-accelerated operations for Khora (MMR, cosine, PageRank, entity resolution, community detection)
Keywords: khora,rust,pyo3,acceleration,vector,graph
Home-Page: https://github.com/DeytaHQ/khora
Author: AllTheData Inc.
License-Expression: Apache-2.0
Requires-Python: >=3.13
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/DeytaHQ/khora
Project-URL: Issues, https://github.com/DeytaHQ/khora/issues
Project-URL: Repository, https://github.com/DeytaHQ/khora

# khora-accel

Rust-accelerated operations for [Khora](https://github.com/DeytaHQ/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

```bash
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

