Delivering Python Programmable Filters to Users

Hello,
My team has developed a number of python programmable filters that we are delivering to some end users. We currently have provided a document that they can cut and paste the code into the programmable filter properties with extra instructions to set the correct “output data set type”. This seems like a bulky method to deliver the filters to our end users. The end users will never edit the code. I’m wondering if anybody has experience delivering programmable filters to end users and if they have a better way. For instance, can one easily package a programmable filter as a plugin that the end users could do a one time installation for? Thanks,
–John.

Hi John,
Python Algorithms are a more powerful way to develop custom filters in python which also allow you to specify the interface for their input.

Additionally they can be delivered as plugins. Converting from a programmable filter to a python algorithm should be pretty straightforward.

https://docs.paraview.org/en/latest/ReferenceManual/pythonProgrammableFilter.html?highlight=python%20filter#python-algorithm

Dan

2 Likes