ruvector/python/portfolio/README.md
rUv 25ed48e9e3
fix(python): resume missing immutable portfolio artifacts safely (#1205)
* fix(python): recover only missing immutable portfolio release artifacts

* docs(python): record tested public tutorial gist and immutable revision

* fix: unblock Python recovery with targeted dependency and CI repairs

* fix: patch Quinn advisories and preserve frozen inventory on Windows

* ci: verify release inventory checkout policy changes

* fix: replace unmaintained YAML parser and stabilize serving acceptance
2026-10-13 13:04:05 +00:00

5.7 KiB

RuVector Python portfolio

RuVector Python capability tracks

Python access to the ten most downloaded RuVector npm packages. Eight new companion distributions join the existing ruvector SDK and ruvector-graph. Previously released clustering and reranking remain available. Every companion has its own introduction, animated diagram, runnable getting started example and explicit capability limits.

Release status, October 12, 2026

The 0.2.0 portfolio is partially published. Attention and cluster wheels are available; both source archives and nine target releases are still missing. The original files pin native ruvector==0.1.3. Current source targets 0.1.4 and must not replace immutable 0.2.0 artifacts. See the verified inventory and recovery evidence and recovery design.

The published attention package has a tested synthetic-data tutorial. Other implemented tracks below describe source capabilities and do not establish PyPI availability.

Measured npm downloads for September 11 through October 10, 2026. These are package retrievals, not unique users. Platform binary variants are excluded. RVF WASM remains a separate distribution because it provides a distinct portable execution backend. Raw evidence and all source URLs.

Rank npm package Monthly downloads Python package Implemented scope
1 @ruvector/ruvllm 519,297 ruvector-ruvllm Rust KV cache and attention; no text generation
2 ruvector 506,811 ruvector Shared native SDK, CLI and integrations
3 @ruvector/rvf 494,402 ruvector-rvf Persistent native RVF vector stores
4 @ruvector/graph-node 415,506 ruvector-graph Property graph CRUD and bounded traversal
5 @ruvector/sona 395,416 ruvector-sona Adapter inference; fresh engine is identity
6 @ruvector/attention 364,417 ruvector-attention Scaled dot product attention
7 @ruvector/router 362,362 ruvector-router Semantic intent routing over Rust HNSW
8 @ruvector/gnn 344,076 ruvector-gnn GNN forward inference; no training API
9 @ruvector/core 341,954 ruvector-core Validated vector indexing and search
10 @ruvector/rvf-wasm 328,808 ruvector-rvf-wasm Actual RVF WASM in a bounded Wasmtime host

Getting started

python -m venv .venv
# Activate the environment using your platform's normal command.
python -m pip install ruvector-attention==0.2.0 ruvector==0.1.3 numpy==2.2.6
# Run the published-package example in tutorials/attention_quickstart.py.

Choose a task and open its package guide:

The base SDK guide is here. All companions pin the same ruvector==0.1.4 native runtime, avoiding duplicate Rust extensions. RVF WASM additionally pins Wasmtime and bundles an integrity verified upstream module. It requires no Node, browser, WASI, network downloads or npm install at runtime.

What is supported?

These are deliberately scoped Python APIs, not promises of complete npm parity. SONA has inference only and cannot train through this binding. Fresh GNN parameters are untrained. The ruvllm package implements full precision KV caching, not language generation. The RVF store opens trusted local files; it is not an untrusted file sandbox. The WASM package runs actual upstream bytecode with fuel and memory caps, and exposes exhaustive vector queries rather than HNSW.

Release and acceptance

Native version changes merged into main build and test wheels on Linux x86/ARM, macOS x86/ARM and Windows x86 before publishing. Companion version changes in manifest.json trigger build, security audit, source installation and native contract tests, then publish through the protected pypi environment. The native runtime release must complete before merging a companion version that requires it. Ordinary documentation edits do not publish.

Acceptance is a successful upload followed by clean PyPI installation and tests on Linux, macOS and Windows. The token stays in the GitHub environment; it is never included in artifacts. Trusted Publishing remains available when configured. See security, validation, architecture decision, and changelog.