Can CP be imported as a package in Python?

I was wondering if CellProfiler can be imported as a package in Python? If so, can anyone point me to the documentation of such API?

Just saw that there will soon be CellProfiler 4. Is CellProfiler meant to be only used as a standalone software or could it be imported into Python scripts as packages?

not easily as far as I am aware. Here’s an earlier post from the cp group that addresses that question: CellProfiler 4.0.0 timeline and roadmap