Lightweight MapReduce in python