Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funscnet

面向 ScNet 计算服务网络平台的 Python API 客户端,提供文件、作业、容器和令牌管理接口。

安装

uv sync

最小示例

from funscnet import ApiBase

api = ApiBase(base_url="https://example.invalid", module="job", token="token")
print(api._get_endpoint("cluster"))

输出:https://example.invalid/hpc/openapi/v2/cluster

测试使用 uv run pytest,所有网络请求测试均使用 mock。


关于 farfarfun

farfarfun 是一个专注于实用工具库的开源组织, 涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。

本项目基于 MIT 协议开源。

About

国家超算互联网(scnet.cn)开放平台 API 的 Python 封装,覆盖令牌认证、作业提交与查询、集群信息、容器与文件管理

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages