How do I use a 3MX file in a custom Machine learning pipeline?

I have a couple .3mx files on which I want to apply machine learning/Computer vision techniques for some information extraction. I have been able to view them with ContextCapture Viewer. Although I have reasonable experience with ML/CV on pointclouds/3D meshes, I am quite new to the Bentley ecosystem. So, I wanted to know how can I start processing a.3mx file (pref. in python) for downstream ML processes? Do I need the CCMasterKernel for Python?

Feel free to let me know if this is not possible for any reason! 

I have also asked this question over at the developer forum since I could not decide which was the right forum to do so! 

Thanks!