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()
Metadata
Release files for chainstream 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chainstream-1.0.2.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chainstream-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / chainstream-1.0.2.tar.gz
| Download URL | chainstream-1.0.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b32975d3b3d1c030a507ac298044c28fa3ca30d527abdfae281edd53276617b3
|
|
BLAKE2b-256 checksum How to use checksums |
a5cc93357fd1f53c61fdc6111a6d9ea2cc565b2c1be9227c15bb036a0db0396b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / chainstream-1.0.2-py3-none-any.whl
| Download URL | chainstream-1.0.2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a726807fd5eae4a66c262b2c68006de9fe9d8874f1ce6c8a73cde0ac8c2b4a3b
|
|
BLAKE2b-256 checksum How to use checksums |
e89c104eab2970734f8c35d5e6d64757c336b0d5c6c710c681c5e8c5eccb3e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|