Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

khora_accel-0.11.2.tar.gz (39.5 kB view details)

Uploaded Source

File details

Details for the file khora_accel-0.11.2.tar.gz.

File metadata

  • Download URL: khora_accel-0.11.2.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for khora_accel-0.11.2.tar.gz
Algorithm Hash digest
SHA256 a5e154c2795f9b5369427cf5191de20ac3770c7b2a22abd3878fddfa2cad5f92
MD5 a35dc0f34ff6d6d01a03dafe6810b6ec
BLAKE2b-256 a3b2d3c3dfb0a38ae15f41dcb4c6a81e9e70d6416b6eb9078364e0025e78cef5

See more details on using hashes here.

Provenance

The following attestation bundles were made for khora_accel-0.11.2.tar.gz:

Publisher: release.yml on DeytaHQ/khora

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page