gunz_cm.io package
Submodules
gunz_cm.io.gnz module
Reader and Writer for the .gnz unified container format.
Examples
- class gunz_cm.io.gnz.GnzReader(fpath: str | Path)[source]
Bases:
objectClass GnzReader.
Examples
Notes
- class gunz_cm.io.gnz.GnzWriter(fpath: str | Path, overwrite: bool = False)[source]
Bases:
objectClass GnzWriter.
Examples
Notes
- add_array(name: str, data: ndarray, dtype: str | dtype | None = None)[source]
Register a complete array to be written. Data is not written until write() is called.
Examples
- get_array_writable(name: str) memmap[source]
Returns a writable memmap for a specific array in the container.
Examples
Module contents
- class gunz_cm.io.GnzReader(fpath: str | Path)[source]
Bases:
objectClass GnzReader.
Examples
Notes
- class gunz_cm.io.GnzWriter(fpath: str | Path, overwrite: bool = False)[source]
Bases:
objectClass GnzWriter.
Examples
Notes
- add_array(name: str, data: ndarray, dtype: str | dtype | None = None)[source]
Register a complete array to be written. Data is not written until write() is called.
Examples
- get_array_writable(name: str) memmap[source]
Returns a writable memmap for a specific array in the container.
Examples