Skip to main content

A Python SDK for elem

Project description

elemem-vector-sdk

提供向量的增删改查

安装

pip install elemem-vector-sdk

使用

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

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

发布

bash upload.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elemem_vector_sdk-2.1.0.13.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elemem_vector_sdk-2.1.0.13-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file elemem_vector_sdk-2.1.0.13.tar.gz.

File metadata

  • Download URL: elemem_vector_sdk-2.1.0.13.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for elemem_vector_sdk-2.1.0.13.tar.gz
Algorithm Hash digest
SHA256 37fa27bd31a428d331c78c28b5f198232306b68342eeee82f038f5e53c657cf6
MD5 4d0c6a06af9f98ee0941097d267769a0
BLAKE2b-256 a39e2680b1e423950d53ab12a767830f637330dadd5d6083b635851c937b1f01

See more details on using hashes here.

File details

Details for the file elemem_vector_sdk-2.1.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for elemem_vector_sdk-2.1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 0f9938624ed8ec9460173ca7adf3866d727c7affd6b9c86c5e7cf0432a4caaea
MD5 d17988b86867fe26969968d843943f88
BLAKE2b-256 8a763e86bcdba400059da6762ef15483dc5c1375158e5fc587afed54493c9375

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page