Run python script in Context Capture Master

How could I run python script in Context Capture Master using ccmasterkernel package? 
I am trying to do automated measurement in Context Capture Master, is that possible?