Python client code for roost