API Reference¶
unblob.models.Handler
¶
Bases: ABC
A file type handler is responsible for searching, validating and "unblobbing" files from Blobs.
Source code in unblob/models.py
get_dependencies()
classmethod
¶
Return external command dependencies needed for this handler to work.
calculate_chunk(file, start_offset)
abstractmethod
¶
extract(inpath, outdir)
¶
Source code in unblob/models.py
unblob.models.StructHandler
¶
Bases: Handler
Source code in unblob/models.py
unblob.models.DirectoryHandler
¶
Bases: ABC
A directory type handler is responsible for searching, validating and "unblobbing" files from multiple files in a directory.
Source code in unblob/models.py
get_dependencies()
classmethod
¶
Return external command dependencies needed for this handler to work.
calculate_multifile(file)
abstractmethod
¶
Calculate the MultiFile in a directory, using a file matched by the pattern as a starting point.
extract(paths, outdir)
¶
Source code in unblob/models.py
unblob.models.Extractor
¶
unblob.models.DirectoryExtractor
¶
Bases: ABC