1-wire library wrapper in python