faust.utils.functional
¶
Functional utilities.
-
faust.utils.functional.
consecutive_numbers
(it: Iterable[int]) → Iterator[Sequence[int]][source]¶ Find runs of consecutive numbers.
Notes
See https://docs.python.org/2.6/library/itertools.html#examples