# Path: hashdd/decompressor/formats/compressed_file.py
# class CompressedFile (object):
#     magic = None
#     file_type = None
#     mime_type = None
#     proper_extension = None
#     MAX_FILES = 1000
# 
#     def __init__(self, f):
#         # f is an open file or file like object
#         self.f = f
#         self.accessor = self.open()
# 
#     @classmethod
#     def is_magic(self, data):
#         return data.startswith(self.magic)
# 
#     def open(self):
#         return None
# 
#     def extract(self):
#         return None


import zipfile
from .compressed_file import CompressedFile 


class ZIPFile (CompressedFile):
    magic = '\x50\x4b\x03\x04'
    file_type = 'zip'
    mime_type = 'compressed/zip'


# Path: hashdd/decompressor/formats/compressed_file.py
# class CompressedFile (object):
#     magic = None
#     file_type = None
#     mime_type = None
#     proper_extension = None
#     MAX_FILES = 1000
# 
#     def __init__(self, f):
#         # f is an open file or file like object
#         self.f = f
#         self.accessor = self.open()
# 
#     @classmethod
#     def is_magic(self, data):
#         return data.startswith(self.magic)
# 
#     def open(self):
#         return None
# 
#     def extract(self):
#         return None


# Path: hashdd/decompressor/formats/zip_file.py
import zipfile
from .compressed_file import CompressedFile 



class ZIPFile (CompressedFile):
    magic = '\x50\x4b\x03\x04'
    file_type = 'zip'
    mime_type = 'compressed/zip'


    def open(self):