C_A with python custom component