semvec/pypi-packages huggingface dataset:
betterplotlib 1.12.12
Some wrappers for matplotlib to make plotting easier and nicer.
License: MIT
Requires Python: >=3.10
Keywords: plotting, matplotlib

[![Tests](https://github.com/gillenbrown/betterplotlib/actions/workflows/tests.yaml/badge.svg?branch=master)](https://github.com/gillenbrown/betterplotlib/actions/workflows/tests.yaml)
[![Coverage Status](https://coveralls.io/repos/github/gillenbrown/betterplotlib/badge.svg?branch=master)](https://coveralls.io/github/gillenbrown/betterplotlib?branch=master)

# betterplotlib
Some tools to help me make nicer plots

Documentation is here: http://betterplotlib.readthedocs.org/
ultrasync-index 0.1.0
Rust-backed mmapped index and vector search for ultrasync
License: MIT
Requires Python: >=3.10
Keywords: embeddings, index, mmap, vector-search

# ultrasync-index

Rust-backed mmapped index and vector search for
[ultrasync](https://github.com/davidgidwani/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

```bash
pip install ultrasync-index
```

Or as part of the full ultrasync package:

```bash
pip install ultrasync
```

## Usage

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