process data as stream.
Project description
原理说明
编程主要要到了生成器,各个类用for循环从上游抽取数据,用yield给下游提供数据。通过改写or规则,将各个组建组合起来。
参考项目
整体思路主要参考了这个项目:https://github.com/sandabuliu/python-stream。
使用
>>> pip install file-stream from file-stream.executor.source import CsvReader from file-stream.executor.writer import CsvWriter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
file_stream-0.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for file_stream-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f987a88fd915d8f80e8fecbc03a03436723af15fdd6bf6df0e0a45107ebb39c3 |
|
MD5 | 18fc68842d5afeacea8506816a062fcd |
|
BLAKE2b-256 | 4c20460f16ad47dcc2ce4da0384985b9ce627d22090ed344f998e227f1e5ae2f |