lisa.utils.loopify# lisa.utils.loopify(items)[source]# Try to factor an iterable into a prefix that is repeated a number of times. Returns a tuple (N, prefix) with N such that N * prefix == list(items).