first attempt at a OT lib for python