Skip to main content

No project description provided

Project description

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下载权限

tos授权

sdk下载方法

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.

ai_app_lab-0.1.0-py3-none-any.whl (182.7 kB view details)

Uploaded Python 3

File details

Details for the file ai_app_lab-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ai_app_lab-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 182.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.18

File hashes

Hashes for ai_app_lab-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 581c7655a1e824c0356926d32ce6f382ee38eccaad7df164ff27dc0d01770f32
MD5 89c8ab1c97e7559f0267d9b32bf903ad
BLAKE2b-256 81bcec78900dbf547a7973eabf2ca616205fe147e0a67aed357615fd7fe70b33

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