xdevkit implemented in python.