Add article about factories in python