python selfe wrapper for reference. from repo https://github.com/twdb/pyselfe