arctool.archive¶
Module wrapping tar and gzip.
-
class
arctool.archive.ArchiveFile[source]¶ Class for working with tarred/gzipped archive datasets.
Initialising using a dataset is used for creating archives, while initialising from a file is used for extracting and verifying.
-
summarise()[source]¶ Return dictionary with summary information about an archive.
Returns: dictionary of summary information about the archive
-
-
class
arctool.archive.ArchiveFileBuilder[source]¶ Class for building up tarred archive datasets.
-
classmethod
from_path(path)[source]¶ Return
arctool.archive.ArchiveFileBuilder.Parsed from a archive dataset directory.
-
classmethod