基于FlowBase流的编程微框架思想的Python实现(参见flowbase.org网站)
flowbase的Python项目详细描述
#FlowBase Python
[FlowBase micro-FBP框架的Python实现 idea](https://flowbase.org),使用Python的asyncio库,在 Python 3.4/3.5。在
##安装
`bash git clone git@github.com:flowbase/flowbase-python.git cd flowbase-python pip install . `
试着举个例子
` cd examples python string_processing_pipeline.py `
预计产量:
`bash $ python string_processing_pipeline.py Printer got line: hi hi for the 1:TH TIME... Printer got line: hi hi for the 2:TH TIME... Printer got line: hi hi for the 3:TH TIME... Printer got line: hi hi for the 4:TH TIME... Printer got line: hi hi for the 5:TH TIME... Printer got line: hi hi for the 6:TH TIME... Printer got line: hi hi for the 7:TH TIME... Printer got line: hi hi for the 8:TH TIME... Printer got line: hi hi for the 9:TH TIME... Printer got line: hi hi for the 10:TH TIME... Printer got line: hi hi for the 11:TH TIME... Printer got line: hi hi for the 12:TH TIME... Printer got line: hi hi for the 13:TH TIME... Printer got line: hi hi for the 14:TH TIME... Printer got line: hi hi for the 15:TH TIME... Printer got line: hi hi for the 16:TH TIME... Printer got line: hi hi for the 17:TH TIME... Printer got line: hi hi for the 18:TH TIME... Printer got line: hi hi for the 19:TH TIME... Printer got line: hi hi for the 20:TH TIME... `
##致谢
敬[Simone Baffelli](https://github.com/baffelli)’s [pyoperator](https://github.com/baffelli/pyperator/)库,它显示 事实上,使用asyncio实现类似FBP的库是可能的。在
- 项目
标签: