Custom partition for mapreducer in python

Can you share an example and how to execute the custom partition mapreducer program in cloudxlab

Please take a look at this:

In the repository above, this file is an example of partitioner:

It is being used in the file bigdata/StubDriver.java at master · cloudxlab/bigdata · GitHub like this:

job.setPartitionerClass(StubPartitioner.class);