send filter to python