Obviously, a few updates have happened to pyremctl. Version 0.3 introduced the “complex” interface to remctl, which is useful mostly for sending commands to the remote server that involve null bytes, or want to send more than one command per connection. 0.4 fixed a couple lingering bugs in the “simple” interface — making sure I didn't free a null pointer if a malloc failed, and not calling DECREF on an object I don't need to.
The code can be found here.