I used the code provided in the readme to publish message to a topic and found the below run time error.
NameError: name 'client' is not defined
client.publish("keelhauled", payload)
I was able to fix this by changing the above line to
mqtt.publish("keelhauled", payload)
Publish messages to a topic.

I used the code provided in the readme to publish message to a topic and found the below run time error.
I was able to fix this by changing the above line to
Publish messages to a topic.