psykoda.io.labeled package¶
Submodules¶
psykoda.io.labeled.file module¶
File-based Previous Log Loader and Saver
- class psykoda.io.labeled.file.FileLoader(base_config: FileStorageBaseConfig, config: Config)[source]¶
Bases:
psykoda.io.labeled.loader.Loader
File-based Loader
- class psykoda.io.labeled.file.FileSaver(base_config: FileStorageConfig, config: Config)[source]¶
Bases:
psykoda.io.labeled.saver.Saver
File-based Saver
- class psykoda.io.labeled.file.FileStorageBaseConfig(dir: str, labeled_basename_format_datetime: str = '%Y-%m-%d-%H')[source]¶
Bases:
object
Common configuration for FileLoader and FileSaver
- dir: str¶
- labeled_basename_format_datetime: str = '%Y-%m-%d-%H'¶
- class psykoda.io.labeled.file.FileStorageConfig(base: psykoda.io.labeled.file.FileStorageBaseConfig, load: psykoda.io.labeled.file.FileLoader.Config, save: psykoda.io.labeled.file.FileSaver.Config)[source]¶
Bases:
object
Configuration fed to factory
psykoda.io.labeled.loader module¶
Previous Log Loader API
psykoda.io.labeled.saver module¶
Previous Log Saver API
Module contents¶
IO functionalities for labeled log
- psykoda.io.labeled.factory(config: psykoda.io.labeled.file.FileStorageConfig) → Tuple[psykoda.io.labeled.loader.Loader, psykoda.io.labeled.saver.Saver][source]¶