import zipfile


def get_zip_info(zipfilename):
    """
    Get number of files and compressed and decompressed file sizes in bytes.
    """
    compress_size = 0
    file_size     = 0
    with zipfile.ZipFile(zipfilename,mode='r') as z:
        for info in z.infolist():
            compress_size += info.compress_size
            file_size     += info.file_size
    return len(z.infolist()),file_size, compress_size