Update:
Since then, we've released a sample application demonstrating how to use Python to access with Message Hub: https://github.com/ibm-messaging/message-hub-samples/tree/master/kafka-python-console-sample
Yes it should be possible to use this library to connect to Message Hub.
Message Hub uses the SASL PLAIN mechanism to perform authentication. As this mechanism is not yet officially supported by Kafka, there's no Kafka clients out there that currently implement it. However, as Message Hub uses standard SASL PLAIN, it is possible to write one if you want. Any SASL library that implements this mechanism can be used.
SASL PLAIN requires a username and a password. You can get these values from the VCAP_SERVICES variable.