Python and Publishing to Queue using solace's API

FYI, the exact setup i am trying to mimic in python: