httk.core.datastream.textstream_filename¶
Classes¶
Backend for streaming text via operations on a file specfied by a filename |
Module Contents¶
- class httk.core.datastream.textstream_filename.TextstreamFilename(filename, **hints)¶
Bases:
httk.core.datastream.textstream_common.TextstreamCommon,httk.core.datastream.textstream_backend.TextstreamBackendBackend for streaming text via operations on a file specfied by a filename Compressed content is transparently decompressed before text decoding.
- Parameters:
filename (str | pathlib.Path) – File path to open lazily for text reading.
**hints (Any) – Backend-selection, encoding, and compression hints.
- Raises:
ValueError – If the compression hint is unknown.