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.6.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.6-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jcweaver-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 ee337b84ffeffdd829c96b15e885cbab80550e0eac61957eee4206cee95d4d15
MD5 17c00ad82c7bf0cafe52b4a86fe4bb2e
BLAKE2b-256 19280851d6468f4d3df61877e6ddbebb7c2167243fce4eb4ceebae90b6617d59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jcweaver-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 29.6 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 28084574f80ec2f42dfcc50cbec36de888c3423dd374671b42bdc8e726469604
MD5 ab236692f1ca01c88eb3285aff1720c4
BLAKE2b-256 8529e7ebb881273edcfadd75eeccf9da30d9c3d499eed3dfbe33e20c892aee1c

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