Create pubnub.py

Stuff I need to be able to do