Skip to main content

SAGE - Streaming-Augmented Generative Execution

Project description

SAGE - Streaming-Augmented Generative Execution

SAGE (Streaming-Augmented Generative Execution) 是一个强大的分布式流数据处理平台的 Meta 包。

简介

这是 SAGE 的主要元包,它会自动安装所有核心 SAGE 组件,为用户提供完整的 SAGE 开发和运行环境。

包含的组件

核心组件 (默认安装)

  • isage-common: 基础工具和公共模块
  • isage-kernel: 核心运行时和任务执行引擎
  • isage-tools: CLI命令行工具(包含 sagesage-dev 命令)

可选组件

  • 标准安装: 中间件+应用库+科学计算 (pip install isage[standard])
  • 开发工具: 开发测试工具 (pip install isage[dev])

快速开始

基础安装(包含核心功能和CLI)

pip install isage

标准安装(包含中间件、应用库和科学计算)

pip install isage[standard]

开发环境安装

pip install isage[dev]

使用示例

import sage

# 创建 SAGE 应用
app = sage.create_app()

# 定义数据流处理
@app.stream("user_events")
def process_events(event):
    return {
        "user_id": event["user_id"],
        "processed_at": sage.now(),
        "result": "processed"
    }

# 启动应用
if __name__ == "__main__":
    app.run()

命令行工具

安装后,你可以使用以下命令:

# 查看版本
sage --version

# 创建新项目
sage create my-project

# 启动服务
sage run

# 查看帮助
sage --help

文档

许可证

MIT License

贡献

欢迎贡献代码!请查看我们的贡献指南

支持

如果你遇到问题或有疑问,请:

  1. 查看文档
  2. 搜索已知问题
  3. 创建新问题

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isage-0.1.5.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file isage-0.1.5.1-py3-none-any.whl.

File metadata

  • Download URL: isage-0.1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for isage-0.1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc8a1812b398e5d7816ae1d3a44f0a981ac206d351ff00a2e22bc8f0c27c350f
MD5 ef3403ba949ca63abb9842d024fbf94b
BLAKE2b-256 36dcde353213e3a41e4b096cb6bdab5f69018ca0c9bd5bc10a7bafc691f810de

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