Metadata-Version: 2.4
Name: hybi-local
Version: 0.1.0
Summary: Embedded (Rust-backed) HyperBinder client. Use alongside hybi for in-process mode.
Project-URL: Homepage, https://github.com/hyperbinder/hyperbinder
Project-URL: Repository, https://github.com/hyperbinder/hyperbinder
Author: HyperBinder Team
License-Expression: MIT
Keywords: ai,embedded,hyperbinder,rocksdb,vector-database
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: hyperbinder-common>=0.1.0
Requires-Dist: hyperbinder>=0.1.0
Requires-Dist: numpy>=1.20.0
Requires-Dist: pandas>=1.5.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Description-Content-Type: text/markdown

# hybi-local

Embedded (in-process) client for HyperBinder. Depends on `hybi` for the shared
compose/models/exceptions surface and on the `hyperbinder` Rust wheel for
storage and vector algebra.

For HTTP-only usage, install `hybi` by itself.

## Install

```bash
pip install hybi-local
```

## Usage

```python
from hybi_local import LocalHyperBinder

hb = LocalHyperBinder(db_path="./hyperbinder_data")
hb.ingest("data.csv", collection="customers")
results = hb.search("enterprise AI", collection="customers")
```

Or via the `hybi` factory:

```python
from hybi import HyperBinder

hb = HyperBinder(local=True, db_path="./hyperbinder_data")
```
