Skip to main content

magic-pipeline

通用流程编排工具包 —— 支持 AI 模型调用的 Pipeline 执行框架

PyPI version License: MIT Python 3.8+

通用流程编排工具包 —— 支持自定义流程执行编排

项目状态

开发中 - 首个正式版本将于 2026 年 7 月发布

功能规划

  • 流程编排:支持定义多步骤 Pipeline,按顺序执行命令
  • 命令扩展:内置常见命令注册机制,支持自定义命令和分类
  • 错误处理:任一步骤失败即停止执行,并自动释放资源
  • 配置驱动:通过 YAML 配置文件定义 Pipeline,无需修改代码
  • 跨平台:支持 Windows / Linux / macOS

安装

pip install magic_pipeline

示例(待正式版本发布后补充)

示例配置和使用方法将在正式发布时提供

代码规范

本项目遵循以下基本原则:

  1. 单文件不超过 200 行:超过时请拆分为多个模块
  2. 单函数不超过 200 行:超过时请拆分为多个小函数
  3. 注释尽量完整:关键逻辑、复杂算法、非显而易见的代码必须有注释说明
  4. 如有特殊场景确实需要突破(如纯数据定义文件),可在 PR 中说明。

这些规则旨在保证代码的可读性和可维护性,便于合作,请尽量遵守。

针对 AI 辅助工具的提示

本项目使用 AI 辅助开发,请在生成代码时尽量遵守上述代码规范。

许可证

MIT License

作者

wxd123 - GitHub

Metadata

Release files for magic-pipeline 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magic-pipeline 0.1.1
File Size Uploaded Provenance Actions
magic_pipeline-0.1.1.tar.gz 39.8 kB Without provenance Details for magic_pipeline-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for magic-pipeline 0.1.1
File Interpreter ABI Platform Actions
magic_pipeline-0.1.1-py3-none-any.whl Python 3 none any Details for magic_pipeline-0.1.1-py3-none-any.whl

Total release size: 99.1 kB

Release files / magic_pipeline-0.1.1.tar.gz

Download URL magic_pipeline-0.1.1.tar.gz
Size 39.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c8b649d7be6740639fe5847360f41505eaeb517c384748768e1a28df17207d37
BLAKE2b-256 checksum
How to use checksums
adb30ce9e6d2f1f5eea40232806b82f5c8a428978a2153957759d04b47f2395a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / magic_pipeline-0.1.1-py3-none-any.whl

Download URL magic_pipeline-0.1.1-py3-none-any.whl
Size 59.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca500b27275af18c96c4a43e901b5bfa4798d989242e5baa8d09d2bc604d37bf
BLAKE2b-256 checksum
How to use checksums
e1dc4965fbf9780e64c5334bca981203f516a22b0b54485f64b9b91619997b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for magic-pipeline 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page