util ==== .. py:module:: util .. autoapi-nested-parse:: General-purpose utilities that can be used for various purposes across the project. Module Contents --------------- .. py:function:: batched(iterable, n, *, strict=False) Batch elements from the iterable into tuples of length n. Taken from itertools in python 3.12: This function can be replaced with itertools.batched in the event of a python update.