There is a ParaView python API, called pvpython.
This is NOT what you will need to use in the Programmable Filter, it is used for automation and batch processing.
https://www.paraview.org/Wiki/ParaView/Python_Scripting
https://kitware.github.io/paraview-docs/latest/python/
1 Like