Skip to content
JDK8u341Public

About

A Easy Async Stream Framework And DSL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFlow

一个简单的异步流式处理框架和DSL


什么是AFlow?

如上所述,AFlow是一个简单的流式处理框架和DSL

支持异步和多进程处理

这一段听起来像是废话qwq


安装

懒得发布到PYPI

大家自己扔进去吧

安装依赖

pip install -r requirements.txt

DSL快速开始

让我们来编写一段Hello World吧!

@aflow {std} # 文件类型和库导入声明

# 入口模型(名称可任意 )
model main {
    print("Hello World")
}

将它保存为 hello_world.fl

假设这个文件置与AFlow目录下

在终端中执行

python .\src\waflow.py .\hello_world.fl

或者直接使用examples文件夹下的示例

python .\src\waflow.py .\examples\hello_world.fl

输出:

Hello World

更多内容请查看doc目录下的文档(施工中)

示例可见examples目录(施工中)

About

A Easy Async Stream Framework And DSL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages