A python library and utility for controlling devices over serial