You could install such things in a libertine container instead.

However, there are no USB serial adapter drivers built into the kernels on the images, so I guess you might not get very far with pyserial yet. 🙂