cif v3 (in python?)