les_iterables package
Submodules:
- les_iterables.augmenting module
- les_iterables.combining module
- les_iterables.functions module
- les_iterables.generating module
- les_iterables.grouping module
- les_iterables.parsing module
- les_iterables.searching module
- les_iterables.selecting module
- les_iterables.sentinels module
- les_iterables.sequences module
- les_iterables.version module
Summary
__all__
Functions:
Generate a series from items, alternating with an alternate item. |
|
Yield an iterable followed by an item. |
|
Yield an iterable, conditionally followed by an item. |
|
Append an item to a sequence if it is not already present. |
|
Concatenate one of more sequences of compatible types. |
|
Find duplicate items. |
|
Yield items, followed by ensured_item, if ensured_item is not already present. |
|
Expands a string containing numbered items into a list of integers. |
|
Extend an iterable by yielding items returned by a factory. |
|
Extend a sequence with items which are not already present. |
|
The first item matching a predicate. |
|
A decorator factory to make a generator return a fully realised collection. |
|
Group the items of of an iterable series, starting a new group after each terminator. |
|
Insert an item into a sequence if it is not already present. |
|
Generate a series of items, with separators taken from a second series. |
|
The nth item matching a predicate. |
|
Yield an iterable series of one item. |
|
Each item in an iterable series with its successor. |
|
Lazily partition an iterable series into a head, and tail of no more than specified length. |
|
Remove n items from the end of a sequence. |
|
Yield an item followed by an iterable. |
|
Conditionally yield an item, followed by an iterable. |
|
Prepend an item to a sequence if it is not already present. |
|
A range of integers from a textual description. |
|
Reject those items which evaluate to False in a boolean context. |
|
Retain those items for which predicate evaluates to True. |
|
Reject those items which are None. |
|
Reject those items which evaluate to True in a boolean context. |
|
Repeat the first item from an iterable on the end. |
|
Replace the elements of s in a range with a new sequence. |
|
Retain those items which evaluate to False in a boolean context. |
|
Retain those items for which predicate evaluates to True. |
|
Retain those items which are not None. |
|
Retain those items which evaluate to True in a boolean context. |
|
Generate a series from items, where the original items are separated by another item. |
|
Skip leading items while the predicate matches. |
|
Split the iterable after the element matching the predicate. |
|
Split an iterable series into groups around specific items. |
|
Yield items starting with the first match. |
|
Yield items in an iterable series after the last matching. |
|
Yield items up to but excluding including the first match. |
|
Yield items up to and including the first match. |
|
A list of items from the first matching to the last matching inclusive. |
|
A list of items from the first matching to the last matching inclusive. |
|
Yield items up to but excluding the first match. |
|
Yield items up and including the first match. |
|
Apply a transformation to items which match a predicate. |