Welcome to iteration_utilities’s documentation!¶
iteration_utilities is a general purpose collection around the
concept of functional programming based on and utilizing iterators and
generators. Most of the functions presented here are inspired by the
itertools module, especially the “recipes” section 0, but also by
toolz 1 package. It should be noted that there are lots more
packages with similar functions, for example
pydash 3 and many, many more.
Large fractions of the code are implemented in C to achieve very good overall
performance. However this library cannot compete (intentionally) with
specialized libraries like
The documentation also presents functionality from several built-in modules and functions to provide a general overview over the available functionality.
This library is under on-going development and may change its API!
There are three classes providing a sequential functional interface for several built-in and additional functions:
And a complete list of all functionality provided in this package:
- Iterable, InfiniteIterable and ManyIterables
- Fold functions
- Tipps and Tricks
- Iterators and copy