Composite indexes for python

READY TO MERGE