Comment Comment by tandav shameless plug: I maintain a small library to do functional pipes. You can write: ( range(10) | Map(lambda x: x * 10) | Filter(lambda x: x % 2 == 0) | Reduce(lambda a, b: a + b) ) and more. https://tandav.github.io/pipe21/most operators are basically oneliners: https://github.com/tandav/pipe21/blob/master/pipe21.py#L17I also maintain a list of libraries which uses pipeline/chain syntax: https://tandav.github.io/pipe21/similar-tools/ parent tandav 2 years ago
most operators are basically oneliners: https://github.com/tandav/pipe21/blob/master/pipe21.py#L17
I also maintain a list of libraries which uses pipeline/chain syntax: https://tandav.github.io/pipe21/similar-tools/