def chunkify(input, chunk_size=20):
    """
    A convenience function to chunk a list

    """
    chunked = []
    for i in range(0, len(input), chunk_size):
        end = i + chunk_size if i + chunk_size < len(input) else len(input)
        chunked.append(list(input[i:end]))
    return chunked