title: Push Notifications in python
body: <p>I am attempting to send basic push notifications to GCM and APNS in python. I am experienced in python, but mostly for data analysis/modeling. I have tried <a href="https://github.com/dgilland/pushjack" rel="nofollow noreferrer">pushjack</a> and have successfully sent a push. But there is little documentation on it. </p>
  
  <pre><code>from pushjack import GCMClient
  
  client = GCMClient(api_key='API-KEY')
  
  registration_id = 'REG-ID'
  
  notify = {'title': 'Push_test', 'body': 'This is a python test!!', 'icon': ''}
  
  res = client.send([registration_id],
                '',
                notification=notify)
  </code></pre>
  
  <p>But the icon on the actual push does not look right and I cannot send without the icon key in the notify dict. I am not sold on using this module, and am open to using to <a href="https://github.com/jleclanche/django-push-notifications" rel="nofollow noreferrer">django</a>, but I have no experience with this and (correct me if I am wrong) seems much too advanced for sending a basic push. </p>
  
  <p>Any help/suggestions would be very much appreciated.</p>