Metadata-Version: 2.4
Name: elemem_vector_sdk
Version: 2.1.0.13
Summary: A Python SDK for elem
Author: elemem.tech
Author-email: support@elemem.tech
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: grpcio==1.76.0
Requires-Dist: grpcio-tools==1.76.0
Requires-Dist: numpy==1.26.4
Requires-Dist: tqdm==4.67.1
Requires-Dist: h5py==3.14.0
Requires-Dist: protobuf==6.31.1
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# elemem-vector-sdk

提供向量的增删改查

## 安装

```bash
pip install elemem-vector-sdk
```

## 使用

```python
from elemem_sdk import cosmosx_client

client = cosmosx_client.CosmosXClient("127.0.0.1:7000")
res = client.query_all_index()
if res.success:
    print(res.data)
else:
    print(res.code, res.message)
```

SDK 接口统一返回 `CosmosXResult`：

```python
@dataclass
class CosmosXResult:
    code: int
    message: str
    data: Any = None
```

## 发布

```bash
bash upload.sh
```
