meta_enricher.meta_enricher#

Module Contents#

class meta_enricher.meta_enricher.MetaEnricher#

Bases: auto_archiver.core.Enricher

Adds metadata information about the archive operations, to be included at the end of all enrichments

enrich(to_enrich: auto_archiver.core.Metadata) None#

Enriches a Metadata object with additional information or context.

Takes the metadata object to enrich as an argument and modifies it in place, returning None.

enrich_file_sizes(to_enrich: auto_archiver.core.Metadata)#
human_readable_bytes(size: int) str#
enrich_archive_duration(to_enrich)#