ark-python-sdk
本仓库主要用于方舟编排的python sdk开发,包含了python sdk的开发工具、sdk的代码、sdk的测试代码、sdk的文档、sdk的发布脚本等。
目录结构
├── Makefile # 编译/安装/lint等脚本
├── OWNERS
├── README.md
├── ark
│ ├── __init__.py
│ ├── cli # 命令行工具脚本,主要用于初始化project,推送镜像等
│ ├── component # 基于core包组成的不同插件/模型上层调用
│ ├── core # 核心数据结构抽象/client包/装饰器部分
│ └── telemetry # 可观测性
├── build.sh # scm编译脚本
├── docker # dockerfile
├── examples # sdk使用示例
│ ├── action_call # function call
│ ├── assistant_client # 调用智能体
│ ├── custom
│ ├── llm
│ ├── rag # 知识库
│ ├── rag_ry
│ ├── search # 联网
│ └── video
├── poetry.lock
├── pyproject.toml # 项目依赖包管理
├── scripts # ci/cd相关脚本
└── tests # 单元测试/集成测试/e2e测试
├── e2e # e2e测试
├── integration # 集成测试
└── ut # 单元测试
开发环境
- 安装poetry
cd sdk/src
make poetry_install
- poetry安装依赖
make install
# 带cli工具相关的依赖安装
make install_with_cli
- 虚拟环境创建
poetry shell
测试
发布
- 本地打包whl
make build
- 流水线打包并发布
- 开白授权sdk下载权限
Metadata
Release files for ai-app-lab 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_app_lab-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ai_app_lab-0.1.0-py3-none-any.whl |
Release files / ai_app_lab-0.1.0-py3-none-any.whl
| Download URL | ai_app_lab-0.1.0-py3-none-any.whl |
|---|---|
| Size | 182.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
581c7655a1e824c0356926d32ce6f382ee38eccaad7df164ff27dc0d01770f32
|
|
BLAKE2b-256 checksum How to use checksums |
81bcec78900dbf547a7973eabf2ca616205fe147e0a67aed357615fd7fe70b33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.18
|
Security for ai-app-lab 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.