Implementation of racadm in pure Python