Skip to main content

Add your description here

Project description

KELE SDK

KELE 推理引擎的异步 Python SDK。

安装

uv sync
# 或者使用 pip
pip install .

功能与接口

基于 httpxanyio 的异步客户端 KeleClient

  • healthz() / readyz(): 服务状态检查。
  • kbs(files, uuid=None): 仅上传文件到服务器临时目录,返回或重用 uuid
  • infer(files, entrypoint, uuid=None): 上传并执行 Python 脚本,返回推理结果、日志、指标等。

files 参数支持 str, Path (标准或 anyio) 或 (文件名, 字节流)

使用示例

直接参考目录下的 example.py

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

kele_sdk-0.0.1a2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file kele_sdk-0.0.1a2-py3-none-any.whl.

File metadata

  • Download URL: kele_sdk-0.0.1a2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kele_sdk-0.0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 25a0e6da4121f02d4ac1397595e303fbff997a49ea41740f73385ac40bbbf2eb
MD5 917ec5e5ef43e124b523207a3047a148
BLAKE2b-256 5edc79ff86db98091d8ffbeaf119ea45d4aa4df9a5add38368e17a93a9a8dbb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for kele_sdk-0.0.1a2-py3-none-any.whl:

Publisher: pypi.yml on USTC-KnowledgeComputingLab/kele-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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