Serial port encapsulation library for Python