chainstream-1.0.1
توضیحات
Chain I/O streams together
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chainstream-1.0.1 |
| نام | chainstream |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Reuben Thomas <rrt@c3d.org> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/chainstream/ |
| مجوز | CC-BY-SA 4.0 |
# chainstream
Chainstream provides the class `ChainStream`, a subclass of `io.RawIOBase`,
to chain I/O streams together into a single stream. See below for example
usage, and the module help for more information.
Chainstream is distributed under the CC-BY-SA version 4.0; see
https://creativecommons.org/licenses/by-sa/4.0/
## Example
```
from chainstream import ChainStream
def generate_open_file_streams():
for file in filenames:
yield open(file, 'rb')
f = io.BufferedReader(ChainStream(generate_open_file_streams()))
f.read()
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl chainstream-1.0.1:
pip install chainstream-1.0.1.whl
نصب پکیج tar.gz chainstream-1.0.1:
pip install chainstream-1.0.1.tar.gz