Python version of Equi