You can generate a Python code equivalent of a simple Yahoo pipe with pipe2py: http://github.com/ggaughan/pipe2py
If a generated code equivalent of Yahoo Pipes block you require isn't part of the distribution, pipe2py is easily extended/ (Please consider contributing any extensions back...)