filter-actions successfully ported to python