bw_processing.io_helpers

Attributes

PARQUET

Functions

file_reader(→ Any)

file_writer(→ None)

generic_directory_filesystem(...)

generic_zipfile_filesystem(...)

Module Contents

bw_processing.io_helpers.file_reader(*, fs: fsspec.AbstractFileSystem, resource: str, mimetype: str, proxy: bool = False, mmap_mode: str | None = None, **kwargs) Any[source]
bw_processing.io_helpers.file_writer(*, data: Any, fs: fsspec.AbstractFileSystem, resource: str, mimetype: str, matrix_serialize_format_type: bw_processing.constants.MatrixSerializeFormat = MatrixSerializeFormat.NUMPY, meta_object: str | None = None, meta_type: str | None = None, **kwargs) None[source]
bw_processing.io_helpers.generic_directory_filesystem(*, dirpath: pathlib.Path) fsspec.implementations.dirfs.DirFileSystem[source]
bw_processing.io_helpers.generic_zipfile_filesystem(*, dirpath: pathlib.Path, filename: str, write: bool = True) fsspec.implementations.zip.ZipFileSystem[source]
bw_processing.io_helpers.PARQUET = True[source]