The API provided by this library should be revisited for consistency and ease of use.
In particular, the Connection object should be easy to create and destroy, so that opening and closing the connection is seamless and easy.
This should use the context manager pattern as possible.
Additionally, a more seamless integration of the CPython support would be nice for testing without a microcontroller. This should be re-structured from its current state to re-use more code between the two. Only i/o operations should be implemented separately if possible.
The API provided by this library should be revisited for consistency and ease of use.
In particular, the Connection object should be easy to create and destroy, so that opening and closing the connection is seamless and easy.
This should use the context manager pattern as possible.
Additionally, a more seamless integration of the CPython support would be nice for testing without a microcontroller. This should be re-structured from its current state to re-use more code between the two. Only i/o operations should be implemented separately if possible.