comperiosearch/elasticsearch-eslib — pull request #10 by htb (2014-10-31 08:40:17+00:00)
Title: New proc: ProtocolConverter

For those tiny tasks where writing a new proc seems overkill and messes up the lib.
Example usage for converting list to comma separated string:

csv2list = lambda doc: ",".join(doc)
p = ProtocolConverter(func=csv2list, input_protocol="list", output_protocol="csv")