def divide_chunks(self, ip_list):
        """
        To divide list of IP addresses into chunks.

        Args:
            ip_list (list): List of IP addresses.

        Yields:
            list: A chunk of IP addresses from the input list.
        """
        chunk_size = consts.FOUNDATION_CHUNK_SIZE
        for i in range(0, len(ip_list), chunk_size):
            yield ip_list[i: i + chunk_size]

        To divide list of IP addresses into chunks.

        Args:
            ip_list (list): List of IP addresses.

        Yields:
            list: A chunk of IP addresses from the input list.
        
Solutions/Team Cymru Scout/Data Connectors/TeamCymruScout/IPDataCollector/ip_collector.py