{ "info": { "author": "Nam Ngo", "author_email": "nam@kogan.com.au", "bugtrack_url": null, "classifiers": [], "description": "python-gcm\n======================\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n :alt: Join the chat at https://gitter.im/geeknam/python-gcm\n :target: https://gitter.im/geeknam/python-gcm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n.. image:: https://img.shields.io/pypi/v/python-gcm.svg\n :target: https://pypi.python.org/pypi/python-gcm\n.. image:: https://img.shields.io/pypi/dm/python-gcm.svg\n :target: https://pypi.python.org/pypi/python-gcm\n.. image:: https://secure.travis-ci.org/geeknam/python-gcm.png?branch=master\n :alt: Build Status\n :target: http://travis-ci.org/geeknam/python-gcm\n.. image:: https://landscape.io/github/geeknam/python-gcm/master/landscape.png\n :target: https://landscape.io/github/geeknam/python-gcm/master\n :alt: Code Health\n.. image:: https://coveralls.io/repos/geeknam/python-gcm/badge.svg?branch=master\n :target: https://coveralls.io/r/geeknam/python-gcm\n.. image:: https://img.shields.io/gratipay/geeknam.svg\n :target: https://gratipay.com/geeknam/\n\nPython client for Google Cloud Messaging for Android (GCM)\n\nInstallation\n-------------\n\n.. code-block:: bash\n\n pip install python-gcm\n\nFeatures\n------------\n\n* Supports multicast message\n* Resend messages using exponential back-off\n* Proxy support\n* Easily handle errors\n* Uses `requests` from version > 0.2\n* `Topic Messaging `__\n* TCP connection pooling and Keep-Alive when passing an explict requests.Session object to the used GCM request call\n\nUsage\n------------\n\nRead about `Google Cloud Messaging `__\n\n.. code-block:: python\n\n from gcm import GCM\n\n gcm = GCM(API_KEY)\n data = {'param1': 'value1', 'param2': 'value2'}\n\n # Downstream message using JSON request\n reg_ids = ['token1', 'token2', 'token3']\n response = gcm.json_request(registration_ids=reg_ids, data=data)\n\n # Downstream message using JSON request with extra arguments\n res = gcm.json_request(\n registration_ids=reg_ids, data=data,\n collapse_key='uptoyou', delay_while_idle=True, time_to_live=3600\n )\n\n # Topic Messaging\n topic = 'topic name'\n gcm.send_topic_message(topic=topic, data=data)\n\nSee `examples `_ directory for more usage details, including error handling.\n\nContributing\n==========\nSee `CONTRIBUTING.md `_\n\nLicensing\n=======\nSee `LICENSE `_", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://blog.namis.me/python-gcm/", "keywords": "android gcm push notification google cloud messaging", "license": "The MIT License (MIT)", "maintainer": null, "maintainer_email": null, "name": "python-gcm", "package_url": "https://pypi.org/project/python-gcm/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-gcm/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://blog.namis.me/python-gcm/" }, "release_url": "https://pypi.org/project/python-gcm/0.4/", "requires_dist": null, "requires_python": null, "summary": "Python client for Google Cloud Messaging for Android (GCM)", "version": "0.4" }, "last_serial": 1902496, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f8649278e3f7629fcad45f2bad08600a", "sha256": "2baf3fb0960cb03268cb9dc750d72c8469bc8dafdcab93e232b39396ea64f9b3" }, "downloads": -1, "filename": "python-gcm-0.1.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "f8649278e3f7629fcad45f2bad08600a", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 66575, "upload_time": "2012-07-12T14:23:02", "url": "https://files.pythonhosted.org/packages/cd/b7/d945f9d308b68dd93c3ed027b9ea6724c14bafe60810ac9c3155abb70592/python-gcm-0.1.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "de777e7000a06aa1799b4409a32f4c60", "sha256": "07d97c8a60bc1cd310ce49c4e5c815c2ad9f5e97e1fddc1ff43d27cf3b9b18b7" }, "downloads": -1, "filename": "python-gcm-0.1.tar.gz", "has_sig": false, "md5_digest": "de777e7000a06aa1799b4409a32f4c60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2730, "upload_time": "2012-07-12T14:22:58", "url": "https://files.pythonhosted.org/packages/fa/f8/2892558049ce93810ac32455308b25b36bafb30710153fe371a1e6774914/python-gcm-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "461154748e290ffb4988816201d0d131", "sha256": "e3b8a29eea94348f32ac60b6ce1339335b193adc3b272eb25c421384e18cb301" }, "downloads": -1, "filename": "python-gcm-0.1.1.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "461154748e290ffb4988816201d0d131", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67294, "upload_time": "2012-07-15T13:24:20", "url": "https://files.pythonhosted.org/packages/e5/6e/0017df9fbedad9652d1643ef45d232212465d638f098aa5dda5ea215fa91/python-gcm-0.1.1.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "9830126734080613f4731945aea6a343", "sha256": "e5e50305df5254130274dc38103e4702d4b2a42f52e571872256d47ff16b9871" }, "downloads": -1, "filename": "python-gcm-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9830126734080613f4731945aea6a343", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3308, "upload_time": "2012-07-15T13:24:17", "url": "https://files.pythonhosted.org/packages/2b/5e/7d435453903afffa6a513edd76ed5addd9fa54c1b5c31cff5e8aa34b289a/python-gcm-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8d3f017556b630b8f7067d07ae548554", "sha256": "ec61da46149ef663ca73a166c939a55e3c7523c28607a75af291e60b7590fe05" }, "downloads": -1, "filename": "python-gcm-0.1.2.linux-x86_64.exe", "has_sig": false, "md5_digest": "8d3f017556b630b8f7067d07ae548554", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 69417, "upload_time": "2012-07-19T06:12:23", "url": "https://files.pythonhosted.org/packages/32/27/b853f957a5528449bb56f88985356ed01ad10f5f7424282d8f161fd41848/python-gcm-0.1.2.linux-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "49873f9c6e90d7c8baba2822bd36d85a", "sha256": "213ab98d16882ea1fad41978acc8ff87796e89972e02017290a90ba75fc804b0" }, "downloads": -1, "filename": "python-gcm-0.1.2.tar.gz", "has_sig": false, "md5_digest": "49873f9c6e90d7c8baba2822bd36d85a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4609, "upload_time": "2012-07-19T06:12:21", "url": "https://files.pythonhosted.org/packages/d2/f3/cc0e79450f66d38e0be1780a686af8b0f8a9ca7c1273bfb25bc5b48de095/python-gcm-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "27a12c0a24df91f7d894422541b8687d", "sha256": "48253813c27c3dd0231cfdf9ffc85ac9e04b59754b7ce9f9a1639dd89c125246" }, "downloads": -1, "filename": "python-gcm-0.1.3.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "27a12c0a24df91f7d894422541b8687d", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 68255, "upload_time": "2012-07-31T15:49:54", "url": "https://files.pythonhosted.org/packages/fd/a7/b7e45c0636a87629e7a1d1d485827edf922c8688c077bd4ae104e6b09376/python-gcm-0.1.3.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "76ae20c8f31c88b7cc13ac0bb3045beb", "sha256": "de490e9cf682550b66f6041202ad04e1d5b5f9845454f414d7cda003c7a7be66" }, "downloads": -1, "filename": "python-gcm-0.1.3.tar.gz", "has_sig": false, "md5_digest": "76ae20c8f31c88b7cc13ac0bb3045beb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4657, "upload_time": "2012-07-31T15:49:43", "url": "https://files.pythonhosted.org/packages/de/b7/dae321fd47762c622bf760e18949db9a083bb2119ea07919c7a3a8eb8939/python-gcm-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "affdca65d607d060e3dd1b2bb918ef9c", "sha256": "092bd377a2b7713e2289ebd3fb067aa3ce60b4cc214ddf17333c9a7f4fd2e7f0" }, "downloads": -1, "filename": "python-gcm-0.1.4.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "affdca65d607d060e3dd1b2bb918ef9c", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 71287, "upload_time": "2012-10-28T07:11:42", "url": "https://files.pythonhosted.org/packages/9c/9e/5ed977c2f3f0beb44ff7f5beddc6793b88dc0ce443b6b32cfe0d3a1153db/python-gcm-0.1.4.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "f60a3280b18d358382572698f693150c", "sha256": "4c681adcc45f7e08d5e6829c6dd307428b26eaf079f4f3a02630ed597a99eb0e" }, "downloads": -1, "filename": "python-gcm-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f60a3280b18d358382572698f693150c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6400, "upload_time": "2012-10-28T07:11:39", "url": "https://files.pythonhosted.org/packages/9e/8e/3b68c96d17e564b21cdf99d75fae4df82ffddfa2c337755d106d738b52fc/python-gcm-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "b670c46350287ef6f7c7eaaf1c1f4437", "sha256": "e6c752535b3ffbfedf46d6862fa47480a09be5584c9fc30a3b233426e1e700aa" }, "downloads": -1, "filename": "python-gcm-0.1.5.macosx-10.9-intel.exe", "has_sig": false, "md5_digest": "b670c46350287ef6f7c7eaaf1c1f4437", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 72377, "upload_time": "2014-01-22T08:52:56", "url": "https://files.pythonhosted.org/packages/e7/29/3baf0b786883680181ecc6965078ca626026ecdc76ef6fa69c7b3cc1b337/python-gcm-0.1.5.macosx-10.9-intel.exe" }, { "comment_text": "", "digests": { "md5": "1be36f24f8e77c4f56c0ee29ed4caac9", "sha256": "f30fc50f0cfba1a1ed6cee102b0960de532e48c9300671cafe01590e1b5093ff" }, "downloads": -1, "filename": "python-gcm-0.1.5.tar.gz", "has_sig": false, "md5_digest": "1be36f24f8e77c4f56c0ee29ed4caac9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7138, "upload_time": "2014-01-22T08:52:52", "url": "https://files.pythonhosted.org/packages/fe/c8/bf5728fb0bb772506236ec8f798999335be9b1e366e1e4b9830ddde8638e/python-gcm-0.1.5.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "adf04cd40ea83c332452e3823ad57034", "sha256": "45efacf919ca756c488103c7a0002fd60d94d786ae70bfb7db507983f1eda5a1" }, "downloads": -1, "filename": "python-gcm-0.2.tar.gz", "has_sig": false, "md5_digest": "adf04cd40ea83c332452e3823ad57034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7223, "upload_time": "2015-06-02T14:51:44", "url": "https://files.pythonhosted.org/packages/a8/9b/7c2f717892d004f701e14b6f3bf6c383db25ff8204b158585a2b38cb7d93/python-gcm-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "cf75cac85b35d20e6d2c5299220f35d8", "sha256": "7d90356297287e16212463ab978260beceb7710569bf8c16a94ed6fd1cf1357f" }, "downloads": -1, "filename": "python-gcm-0.3.tar.gz", "has_sig": false, "md5_digest": "cf75cac85b35d20e6d2c5299220f35d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10838, "upload_time": "2015-11-12T05:40:13", "url": "https://files.pythonhosted.org/packages/4b/c5/08ea2a26c657bbacd1aa768c356a13dcc6d8b1de8d28e07a641e4f2eb0dc/python-gcm-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "95e467dfe7634a85aebba8e4e4f36cdc", "sha256": "511c35fc5ae829f7fc3cbdb45c4ec3fda02f85e4fae039864efe82682ccb9c18" }, "downloads": -1, "filename": "python-gcm-0.4.tar.gz", "has_sig": false, "md5_digest": "95e467dfe7634a85aebba8e4e4f36cdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10788, "upload_time": "2016-01-13T11:22:28", "url": "https://files.pythonhosted.org/packages/0f/e8/484da1f91a292062eee626e35496dcbbe6f58244f5fb969dfe007d52b1d2/python-gcm-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "95e467dfe7634a85aebba8e4e4f36cdc", "sha256": "511c35fc5ae829f7fc3cbdb45c4ec3fda02f85e4fae039864efe82682ccb9c18" }, "downloads": -1, "filename": "python-gcm-0.4.tar.gz", "has_sig": false, "md5_digest": "95e467dfe7634a85aebba8e4e4f36cdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10788, "upload_time": "2016-01-13T11:22:28", "url": "https://files.pythonhosted.org/packages/0f/e8/484da1f91a292062eee626e35496dcbbe6f58244f5fb969dfe007d52b1d2/python-gcm-0.4.tar.gz" } ] }