python-grapevine

grapevine (formerly known as python-pipeline) lets you create pipelines of iterators.

Author: Jakub Wilk

License: The Expat license

Version: 1.0 released on 2012-06-10

Example:
>>> from grapevine import *
>>> xrange(-10, 10) | grep(lambda x: x % 3 == 2) | (x * (x + 1) for x in STDIN) | list
[90, 42, 12, 0, 6, 30, 72]