Skip to main content

A platform-adaptive task framework for cloud-edge scenarios

Project description

JCWeaver 简介

JCWeaver 是一个面向 云际异构环境 的轻量级编程模型工具库,旨在帮助开发者屏蔽不同平台之间的差异,实现 统一的数据封装与平台适配

通过简单的代码修饰,开发者即可专注于核心业务逻辑,无需关注繁杂的平台集成细节。


JCWeaver 代码架构

项目结构如下:

jcweaver/
├── __init__.py
├── api/                    # 面向用户的主 API 模块
│   ├── __init__.py
│   ├── api.py              # 主入口 API
│   └── decorators.py       # 任务与函数的装饰器定义
├── core/                   # 内部核心机制
│   ├── __init__.py
│   ├── registry.py         # 任务注册与元数据管理
│   ├── schema.py           # 输入输出数据结构定义
│   ├── logger.py           # 日志系统
│   ├── context.py          # 上下文管理(运行时状态)
│   ├── metadata.py         # 元信息定义
├── adapter/                # 平台适配层
│   ├── __init__.py
│   └── openi.py            # OpenI 平台适配实现
├── cli/                    # 命令行工具(可选,开发中)
└── tests/                  # 单元测试目录

使用JCWeaver

pip install jcweaver --index-url https://pypi.org/simple

Project details


Download files

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

Source Distribution

jcweaver-0.1.8.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

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

jcweaver-0.1.8-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file jcweaver-0.1.8.tar.gz.

File metadata

  • Download URL: jcweaver-0.1.8.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for jcweaver-0.1.8.tar.gz
Algorithm Hash digest
SHA256 b1b5654b628d056cf626cab7198cc5eb6948ac1ed1accbd675b0130825cb4c01
MD5 54595b3c1ba0ead7de363bc734791b59
BLAKE2b-256 26c27aac78de0b6148b5fa3ec7b8cb3a5747c7403c9287e19574401130b92fc8

See more details on using hashes here.

File details

Details for the file jcweaver-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: jcweaver-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for jcweaver-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0a46b8880c2479b7298b814695429b41c724c5e13b5b608a8b791f893a8b7b28
MD5 e410e3dabaa59cb6c155d79b2f795126
BLAKE2b-256 59eadb32ffbf7160aa0334b1899b79e57ba866a24d89a056010143e86c0f2260

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