Df Archive¶
- dffml.df.archive.create_archive_dataflow(seed: set) DataFlow [source]¶
A function to create appropriate dataflow to extract/create an archive if it is supported.
- dffml.df.archive.create_chained_archive_dataflow(action, first_op, second_op, seed, temp_dir) DataFlow [source]¶
A function to create chained dataflows for archive extraction/creation.
- dffml.df.archive.deduce_archive_action(seed: Dict) Tuple[str] [source]¶
A function to deduce archive action as ‘extract’ or ‘archive’ based on the seed and find type and compression of the archive.
- dffml.df.archive.get_archive_path_info(path: str) Tuple[str] [source]¶
A function to find type of archive from the given path if the file does not exists.
- dffml.df.archive.get_archive_type(file_path: str) Tuple[str] [source]¶
A function to get archive type if the file exists.