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.4.tar.gz (19.9 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.4-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jcweaver-0.1.4.tar.gz
  • Upload date:
  • Size: 19.9 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.4.tar.gz
Algorithm Hash digest
SHA256 95cc27c6fc8a2065711316ae562cb8b6f17cb99b6370e8e5afc03ed82c2c3f42
MD5 6d7fa68b6ef190180ce4bc11f60c406c
BLAKE2b-256 dd74e2ad79ef461bcc875fa51985933d6096f81d9e15204fdf65f2e7e2b19e9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jcweaver-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 29.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0920e2facd9099e493255dcc976193d7c549d980db7481aa433e0e50c2447080
MD5 a41fe6465c89550e17cc7e769c080823
BLAKE2b-256 0573d448dbf541c6fecd667e6c1bd51b785e8eb512a000a535189386372d911b

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