httk.core.datastream.bytestream_filename¶
Classes¶
Backend for streaming byte data via operations on a file specified by a filename. |
Module Contents¶
- class httk.core.datastream.bytestream_filename.BytestreamFilename(filename, **hints)¶
Bases:
httk.core.datastream.bytestream_common.BytestreamCommon,httk.core.datastream.bytestream_backend.BytestreamBackendBackend for streaming byte data via operations on a file specified by a filename. Compressed content is transparently decompressed according to the compression hint.
- Parameters:
filename (str | pathlib.Path) – File path to open lazily for binary reading.
**hints (Any) – Backend-selection and compression hints.
- Raises:
ValueError – If the compression hint is unknown.