ClipPolydata with points that are all around the polydata

It is fantastic but I don’t understand too much about C++. how can I turn it into a VTK filter?
I use Python.