A simple in-memory vector store library.
Project description
zetacore
zetacore is a Rust library with Python bindings for efficient vector storage and similarity search.
Features
- Store and manage vector records with associated metadata
- Perform cosine similarity search on stored vectors
- Efficient add, get, and delete operations
- Python bindings for easy integration with Python projects
Installation
Python
pip install zetacore
Usage
Python
import zetacore
store = zetacore.VectorStore([])
store.add([
{ "id": "vector_1", "values": [1.0, 2.0] },
{ "id": "vector_2", "values": [5.3, 3.9] },
])
result = store.query([1.5, 2.5], 1)
print(f"Nearest vector: {result[0]}")
Contributing
Contributions are welcome!
License
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zetacore-0.1.0.tar.gz
(14.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zetacore-0.1.0.tar.gz.
File metadata
- Download URL: zetacore-0.1.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3814be7035a860627ff32ae52f8c673c0d17254adf2251d4840064ec98de215e
|
|
| MD5 |
6537c4d8785e43963fa67d015dd0dcec
|
|
| BLAKE2b-256 |
44b90f1e58f36b9142d272c63f53710319bb1a1b86d1198237c3b0e79ccde1e0
|
File details
Details for the file zetacore-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: zetacore-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 237.3 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3e128894a98f2541e18a412dd4736b8522a3690224ddc4d4c92026ba4a220fd
|
|
| MD5 |
8a238d771d662cf63fbe47f2b1a794ed
|
|
| BLAKE2b-256 |
2844f38ecda9d0e10f4f6dacbf78e7fb96ef0d2d19fd4da5e1e9afd591c513f0
|