def apply_filter(value, expr: str): return eval(f"{value} {expr}")