Python implementation of confd