Add your description here
Project description
KELE SDK
KELE 推理引擎的异步 Python SDK。
安装
uv sync
# 或者使用 pip
pip install .
功能与接口
基于 httpx 和 anyio 的异步客户端 KeleClient:
healthz()/readyz(): 服务状态检查。kbs(files, uuid=None): 仅上传文件到服务器临时目录,返回或重用uuid。infer(files, entrypoint, uuid=None): 上传并执行 Python 脚本,返回推理结果、日志、指标等。
files 参数支持 str, Path (标准或 anyio) 或 (文件名, 字节流)。
使用示例
直接参考目录下的 example.py。
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25a0e6da4121f02d4ac1397595e303fbff997a49ea41740f73385ac40bbbf2eb
|
|
| MD5 |
917ec5e5ef43e124b523207a3047a148
|
|
| BLAKE2b-256 |
5edc79ff86db98091d8ffbeaf119ea45d4aa4df9a5add38368e17a93a9a8dbb4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kele_sdk-0.0.1a2-py3-none-any.whl -
Subject digest:
25a0e6da4121f02d4ac1397595e303fbff997a49ea41740f73385ac40bbbf2eb - Sigstore transparency entry: 1078541473
- Sigstore integration time:
-
Permalink:
USTC-KnowledgeComputingLab/kele-sdk@c8eb154cde8074c431676ee3fc11d7de45859b16 -
Branch / Tag:
refs/tags/v0.0.1-alpha2 - Owner: https://github.com/USTC-KnowledgeComputingLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@c8eb154cde8074c431676ee3fc11d7de45859b16 -
Trigger Event:
push
-
Statement type: