# 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
```bash
pip install zetacore
```
## Usage
### Python
```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](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "zetacore",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "LLM, vector-store, similarity-search, python-bindings",
"author": "zenithvrx",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/44/b9/0f1e58f36b9142d272c63f53710319bb1a1b86d1198237c3b0e79ccde1e0/zetacore-0.1.0.tar.gz",
"platform": null,
"description": "# zetacore\n\nzetacore is a Rust library with Python bindings for efficient vector storage and similarity search.\n\n## Features\n\n- Store and manage vector records with associated metadata\n- Perform cosine similarity search on stored vectors\n- Efficient add, get, and delete operations\n- Python bindings for easy integration with Python projects\n\n## Installation\n\n### Python\n\n```bash\npip install zetacore\n```\n\n## Usage\n\n### Python\n\n```python\nimport zetacore\n\nstore = zetacore.VectorStore([])\nstore.add([\n { \"id\": \"vector_1\", \"values\": [1.0, 2.0] },\n { \"id\": \"vector_2\", \"values\": [5.3, 3.9] },\n])\n\nresult = store.query([1.5, 2.5], 1)\nprint(f\"Nearest vector: {result[0]}\")\n```\n\n## Contributing\n\nContributions are welcome!\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details.\n\n\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A simple in-memory vector store library.",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [
"llm",
" vector-store",
" similarity-search",
" python-bindings"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "2844f38ecda9d0e10f4f6dacbf78e7fb96ef0d2d19fd4da5e1e9afd591c513f0",
"md5": "8a238d771d662cf63fbe47f2b1a794ed",
"sha256": "b3e128894a98f2541e18a412dd4736b8522a3690224ddc4d4c92026ba4a220fd"
},
"downloads": -1,
"filename": "zetacore-0.1.0-cp312-cp312-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "8a238d771d662cf63fbe47f2b1a794ed",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.7",
"size": 237331,
"upload_time": "2024-08-28T05:27:23",
"upload_time_iso_8601": "2024-08-28T05:27:23.581911Z",
"url": "https://files.pythonhosted.org/packages/28/44/f38ecda9d0e10f4f6dacbf78e7fb96ef0d2d19fd4da5e1e9afd591c513f0/zetacore-0.1.0-cp312-cp312-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "44b90f1e58f36b9142d272c63f53710319bb1a1b86d1198237c3b0e79ccde1e0",
"md5": "6537c4d8785e43963fa67d015dd0dcec",
"sha256": "3814be7035a860627ff32ae52f8c673c0d17254adf2251d4840064ec98de215e"
},
"downloads": -1,
"filename": "zetacore-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "6537c4d8785e43963fa67d015dd0dcec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 14589,
"upload_time": "2024-08-28T05:27:25",
"upload_time_iso_8601": "2024-08-28T05:27:25.866017Z",
"url": "https://files.pythonhosted.org/packages/44/b9/0f1e58f36b9142d272c63f53710319bb1a1b86d1198237c3b0e79ccde1e0/zetacore-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-28 05:27:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "zetacore"
}