Skip to main content

ultrasync-index

Rust-backed mmapped index and vector search for ultrasync.

This package provides the low-level index primitives:

  • GlobalIndex - memory-mapped file index with zero-copy access
  • ThreadIndex - in-memory vector index for fast similarity search
  • TreeSitter scanner - AST-based symbol extraction (optional)
  • Candle embeddings - Rust-native embeddings via HuggingFace (optional)

Installation

pip install ultrasync-index

Or as part of the full ultrasync package:

pip install ultrasync

Usage

from ultrasync_index import GlobalIndex, ThreadIndex

# Memory-mapped global index
index = GlobalIndex("index.dat", "blob.dat")
data = index.slice_for_key(key_hash)

# In-memory thread-local index
thread_idx = ThreadIndex()
thread_idx.add(key_hash, embedding_vector)
results = thread_idx.search(query_vector, top_k=10)

Features

  • scanner - Tree-sitter based symbol extraction (enabled by default)
  • embeddings - Candle-based Rust-native embeddings (enabled by default)
  • mkl - Intel MKL acceleration for embeddings
  • cuda - CUDA acceleration for embeddings

License

MIT

Release files for ultrasync-index 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ultrasync-index 0.1.0
File Size Uploaded
ultrasync_index-0.1.0.tar.gz 37.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ultrasync-index 0.1.0
File Interpreter ABI Platform
ultrasync_index-0.1.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
ultrasync_index-0.1.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
ultrasync_index-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details

Total release size: 11.5 MB

Release files / ultrasync_index-0.1.0.tar.gz

Download URL ultrasync_index-0.1.0.tar.gz
Size 37.1 kB
Tags Source
SHA-256 checksum
How to use checksums
680b2d78a652b36078da3ff4a73ec6de1b0f71d508de644f70356f944783061c
BLAKE2b-256 checksum
How to use checksums
a433786e3ad7ecb25e1233102484d991601e83879ec3b908969c0d6572e3345c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 31, 2025.

Transparency log

Release files / ultrasync_index-0.1.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL ultrasync_index-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Size 3.6 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
996eb87d07d7a60b2c3d164e9ec26b9f5b3164852f89ef60e59e26d99a56daca
BLAKE2b-256 checksum
How to use checksums
aa2094db84ce4791f728dfb739de2f85fd4686bc42100ce21f83eccd2e618e8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 31, 2025.

Transparency log

Release files / ultrasync_index-0.1.0-cp39-cp39-win_amd64.whl

Download URL ultrasync_index-0.1.0-cp39-cp39-win_amd64.whl
Size 3.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
d7c81830c571b9829eab60667bf49a7f4638250426419a71acbe0de048f33020
BLAKE2b-256 checksum
How to use checksums
c52d719cdbacb8c246d9ba6fd84f41244533202ae15f182bb3fc5a8b56dc9b96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 31, 2025.

Transparency log

Release files / ultrasync_index-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ultrasync_index-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.1 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
14d46d709cbfa66ac15f5ea814be56feb3c6b8b4f9cfdf20478f6c85195debda
BLAKE2b-256 checksum
How to use checksums
a7cbdf85a97399d44fd666f615834d55aa0a9e60eb2416b7f25fbf238da6b546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 31, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page