Python api for plankton mark 2.

[Delivers #59313676]
Cleanup
Self-review