The motto of the library is “Never write shell scripts again”, and thus it attempts to mimic the shell syntax (shell combinators) where it makes sense, while keeping it all pythonic and cross-platform.
A piping example:
>>> chain = ls["-a"] | grep["-v", "\.py"] | wc["-l"] >>> print chain /bin/ls -a | /bin/grep -v '.py' | /usr/bin/wc -l >>> chain() u'13n'
Have comments? Send a tweet to @TheChangelog on Twitter.
Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.