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.3.tar.gz (19.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.3-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jcweaver-0.1.3.tar.gz
  • Upload date:
  • Size: 19.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.3.tar.gz
Algorithm Hash digest
SHA256 0b2e4c99d6fddc1eca726cbdc482858300637db35bd7fe467698423c83fd2e6e
MD5 a0b7231b87149c15938ed7790432e1b3
BLAKE2b-256 92e7eaf131a290a3bc1434b4428319c52ac59ce94bb34e0dd7a7da190a8aa392

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jcweaver-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 86a39376a8fbbd18c1e0c7c9bcae4424c8a04535c4f1cdeb445718dca616b933
MD5 71765eadc18eb54af505e9093ff405be
BLAKE2b-256 3339b8cd1256e50a0d04d9a00f9b9c5e3975d9879879fbbd5e6cec8455171ac8

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