Prototyping econix in python