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.2.tar.gz (13.5 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.2-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jcweaver-0.1.2.tar.gz
  • Upload date:
  • Size: 13.5 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.2.tar.gz
Algorithm Hash digest
SHA256 28457565ba546551dc474f6e98350024af2a35a825edb3bb661ab6684fe9b6cd
MD5 37c1415390be15b860a67a465496cac5
BLAKE2b-256 ea71c7d25710463427a70a52390bced5d16c82f5d8de58ee2344582cdaeb4900

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jcweaver-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0540bd711111503b35cd6e5dce3f9053f4fcdbc0d8dc8b25f44cfbe0dc02b84
MD5 2f7bdebdabff6568095873a689c64af0
BLAKE2b-256 99b608f30efaccfdf8f5ce6dcb1f91aa82585ef691076a99dedcd05667931f59

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