{ "info": { "author": "Pusher", "author_email": "support@pusher.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython" ], "description": ".. image:: https://travis-ci.org/pusher/push-notifications-python.svg?branch=master\n :target: https://travis-ci.org/pusher/push-notifications-python\n.. image:: https://codecov.io/gh/pusher/push-notifications-python/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/pusher/push-notifications-python\n\nPusher Beams Python server SDK\n==============================\nFull documentation for this SDK can be found `here `__\n\nInstallation\n------------\nThe Pusher Beams Python server SDK is available on PyPi\n`here `__.\n\nYou can install this SDK by using\n`pip `__:\n\n.. code::\n\n $ pip install pusher_push_notifications\n\n\nUsage\n-----\n\nConfiguring the SDK for Your Instance\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nUse your instance id and secret (you can get these from the\n`dashboard `__) to create a Beams PushNotifications instance:\n\n.. code::\n\n from pusher_push_notifications import PushNotifications\n\n pn_client = PushNotifications(\n instance_id='YOUR_INSTANCE_ID_HERE',\n secret_key='YOUR_SECRET_KEY_HERE',\n )\n\nPublishing to Device Interests\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can broadcast notifications to groups of subscribed devices using `Device Interests `__:\n\n.. code::\n\n response = pn_client.publish_to_interests(\n interests=['hello'],\n publish_body={\n 'apns': {\n 'aps': {\n 'alert': 'Hello!'\n }\n },\n 'fcm': {\n 'notification': {\n 'title': 'Hello',\n 'body': 'Hello, World!'\n }\n }\n }\n )\n\n print(response['publishId'])\n\nPublishing to Authenticated Users\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nSecurely send notifications to individual users of your application using `Authenticated Users `__:\n\n.. code::\n\n response = pn_client.publish_to_users(\n user_ids=['user-0001'],\n publish_body={\n 'apns': {\n 'aps': {\n 'alert': 'Hello!'\n }\n },\n 'fcm': {\n 'notification': {\n 'title': 'Hello',\n 'body': 'Hello, World!'\n }\n }\n }\n )\n\n print(response['publishId'])\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pusher-push-notifications", "package_url": "https://pypi.org/project/pusher-push-notifications/", "platform": "", "project_url": "https://pypi.org/project/pusher-push-notifications/", "project_urls": null, "release_url": "https://pypi.org/project/pusher-push-notifications/1.1.0/", "requires_dist": [ "six (<2,>1.4.0)", "requests (<3,>2.5.0)", "pyjwt (<2,>1.1.0)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "Pusher Push Notifications Python server SDK", "version": "1.1.0" }, "last_serial": 4787045, "releases": { "0.10.0": [ { "comment_text": "", "digests": { "md5": "87bb4923079e8ee0596126edd7a50c46", "sha256": "0960ac1d9f8dfd017ee080ef974d9f8c575d73105124c8ff7ebe96cbdbbb2de9" }, "downloads": -1, "filename": "pusher_push_notifications-0.10.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "87bb4923079e8ee0596126edd7a50c46", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5337, "upload_time": "2018-04-16T09:48:09", "url": "https://files.pythonhosted.org/packages/26/35/730e0bcc4c0e7071dc7698c31ae4d5422ffecd3b5f664a44a99bbe09a75b/pusher_push_notifications-0.10.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0379fcf4a0a33bf7b55e545c5024def0", "sha256": "e35b5e919596bdf651ead71fe158fcb1883080e1b8c21bc9b218f9f4e9e83aa3" }, "downloads": -1, "filename": "pusher_push_notifications-0.10.0.tar.gz", "has_sig": false, "md5_digest": "0379fcf4a0a33bf7b55e545c5024def0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3733, "upload_time": "2018-04-16T09:48:10", "url": "https://files.pythonhosted.org/packages/fb/f4/7533edad5ce9864025afb85f8914a0137a16c755a0632de0a496883bf528/pusher_push_notifications-0.10.0.tar.gz" } ], "0.10.1": [ { "comment_text": "", "digests": { "md5": "0a348a47d1427ce4ecd05d4cdd0f75f6", "sha256": "d6acb3ae0142b8f9274c19851611bddbdfb2b01189276686189eee01abbaab6e" }, "downloads": -1, "filename": "pusher_push_notifications-0.10.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0a348a47d1427ce4ecd05d4cdd0f75f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5386, "upload_time": "2018-07-10T10:07:40", "url": "https://files.pythonhosted.org/packages/84/26/323da718f562e009f82db0b57d0800afced84d9ac5ea90214dff98f7b1e8/pusher_push_notifications-0.10.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "87221916c2f39a5dacd914c6acdba620", "sha256": "97ae8763aedaaf45b95b3500b59cd61e58dd375ab1d99755bb05318e4149dc1f" }, "downloads": -1, "filename": "pusher_push_notifications-0.10.1.tar.gz", "has_sig": false, "md5_digest": "87221916c2f39a5dacd914c6acdba620", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3795, "upload_time": "2018-07-10T10:07:41", "url": "https://files.pythonhosted.org/packages/c5/b9/37420dd0b50f2dc52ae9958269eb3b9c4d0c264431b2e15ef1187a6f2044/pusher_push_notifications-0.10.1.tar.gz" } ], "0.10.2": [ { "comment_text": "", "digests": { "md5": "c951378edf79df75141fe2295b5af5ba", "sha256": "8798b09d15ed4b752c9ff3940350665ef100373d4fafdea5efb6cd515d07e99b" }, "downloads": -1, "filename": "pusher_push_notifications-0.10.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c951378edf79df75141fe2295b5af5ba", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5385, "upload_time": "2018-07-12T14:20:24", "url": "https://files.pythonhosted.org/packages/e7/e2/4c2a886105334c2f9f85fd729dca8c8ad005a7c54a1add3c0d88de31ef69/pusher_push_notifications-0.10.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a447a8cf8eb9ebfbeba74e3e7d80bde1", "sha256": "36f3731b949f51b18edf4a2814021d35ba9ee6791673c4d37e85d0bde042cdc1" }, "downloads": -1, "filename": "pusher_push_notifications-0.10.2.tar.gz", "has_sig": false, "md5_digest": "a447a8cf8eb9ebfbeba74e3e7d80bde1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3787, "upload_time": "2018-07-12T14:20:25", "url": "https://files.pythonhosted.org/packages/d3/81/ce4e48c4dcc486798a8f944dc4ead671a5b5c6abcb5ef651b03434a881a4/pusher_push_notifications-0.10.2.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "7b6f34d2149585b8fe153cc97c218e5e", "sha256": "2aefcc8180c0df816b8ae1f7fa541698243763717fe23328ccb6fc9a160d75fe" }, "downloads": -1, "filename": "pusher_push_notifications-0.9.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7b6f34d2149585b8fe153cc97c218e5e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5184, "upload_time": "2018-01-15T11:00:42", "url": "https://files.pythonhosted.org/packages/8b/44/d6ccfc1ffce9da3c2c5dddc36c8d000c0a9630aba14831452f13b3ebe7fc/pusher_push_notifications-0.9.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ed1f60f04251aa6e72897b3eabb1d20", "sha256": "b8a1de3ff7e8768d195524ad98511651a0f07972f5319fa761a3fd89995b55b4" }, "downloads": -1, "filename": "pusher_push_notifications-0.9.0.tar.gz", "has_sig": false, "md5_digest": "1ed1f60f04251aa6e72897b3eabb1d20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3689, "upload_time": "2018-01-15T11:00:43", "url": "https://files.pythonhosted.org/packages/33/c8/5d20b9cdd144bac8800eaee4a00687d7b4e5368d295ec266ca10fe3cc879/pusher_push_notifications-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "8e764937216e1a611de1df8c821486f0", "sha256": "5a4e4ac56ccf4ad15056ac2410a70d88ade04114ab054e1a85eca98e7b818afc" }, "downloads": -1, "filename": "pusher_push_notifications-0.9.1.tar.gz", "has_sig": false, "md5_digest": "8e764937216e1a611de1df8c821486f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3676, "upload_time": "2018-01-15T11:38:59", "url": "https://files.pythonhosted.org/packages/d8/a9/56354f35f4a17bf83f01570be3d301ae44c7ae72da8717e3ff3272ec83c8/pusher_push_notifications-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "6bdd70c5a85ed19d57e92d732237d0d0", "sha256": "f2cac50b5d57d670e020c472729ea70d0c01b8abf0c5093c20edb3b6d8c98667" }, "downloads": -1, "filename": "pusher_push_notifications-0.9.2.tar.gz", "has_sig": false, "md5_digest": "6bdd70c5a85ed19d57e92d732237d0d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3646, "upload_time": "2018-03-14T10:29:59", "url": "https://files.pythonhosted.org/packages/f3/c9/fa82535fb6fe427afc3fcbe31368cd19c6c27cd837bf088a7e96e99ff35b/pusher_push_notifications-0.9.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "dfbd3a986421b54d82589e756b848acd", "sha256": "4f69cf31efc5fd026750028cfcf67c79d1bc2980a79f8f36137a1c8b90d09a79" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dfbd3a986421b54d82589e756b848acd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5370, "upload_time": "2018-07-31T13:13:15", "url": "https://files.pythonhosted.org/packages/5f/92/adbc25a89736ffe6522fd18b1f456903298e10b014e8f580d4ad5f08348d/pusher_push_notifications-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8758fae219cffc958c4c6f7c9b4aabed", "sha256": "3bb78e042b2a9db2735881ea91eb498aa539aca6b989989d0765abfaea3358d3" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8758fae219cffc958c4c6f7c9b4aabed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3785, "upload_time": "2018-07-31T13:13:17", "url": "https://files.pythonhosted.org/packages/e4/cc/dbf80c6a8b81c33e9b913fda0fe16b0a47bfa732f6930f7853039e99a9f7/pusher_push_notifications-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "340a84824076e6c5dfa36a08c5b94a65", "sha256": "1838a117c1c4f3c229435b348d3e34bdc0dee7d6646cfcdb698db0ad2534d33b" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "340a84824076e6c5dfa36a08c5b94a65", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4750, "upload_time": "2018-11-19T15:35:33", "url": "https://files.pythonhosted.org/packages/da/ff/b21fd4ac461cb09026244b94dc984344139dc010ed36434b8b0044333423/pusher_push_notifications-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "432567d20f29ad20ef70fb3930dd8c0a", "sha256": "0107a5d4c1c5d0225f173eedd2395c9bf142afe9eb805f22388e7d8b5cd77487" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.1.tar.gz", "has_sig": false, "md5_digest": "432567d20f29ad20ef70fb3930dd8c0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3770, "upload_time": "2018-11-19T15:35:35", "url": "https://files.pythonhosted.org/packages/24/82/f4fc2fd70f563213955961cc49b9a4a05321ede7478d136671d98d042f3d/pusher_push_notifications-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ef51cad930a8bfda76d6c3bc68b3b6aa", "sha256": "f8a1a6c74665f41d6e1cad486533f766b4880df643515763b9604762892fe3cc" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ef51cad930a8bfda76d6c3bc68b3b6aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4786, "upload_time": "2019-01-04T14:58:45", "url": "https://files.pythonhosted.org/packages/e8/99/2a0bb9500c25e82a1a44691a6dbace7436f874194aa36ca71c03ad4c02ca/pusher_push_notifications-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5ebc1e85d8859d7990c505820028ff2", "sha256": "2d875c47c08cfb9db12ac96dc26280f17798f060b64ede6d01ef443aeef29e0a" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b5ebc1e85d8859d7990c505820028ff2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3833, "upload_time": "2019-01-04T14:58:46", "url": "https://files.pythonhosted.org/packages/87/31/d517650ee5c449bd9b9883528ed52cf8b8a17db331b5a1ea26ae809aae65/pusher_push_notifications-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "63640ba50f5add861bc9196b457b7b41", "sha256": "79fda72ee48b7cc8752686353d35763fc072e97f6b608e4b27dca6825dfea02d" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "63640ba50f5add861bc9196b457b7b41", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4834, "upload_time": "2019-01-16T14:28:48", "url": "https://files.pythonhosted.org/packages/a8/7a/638ec727f8375dc5382996aa2f5c513274f0225260f4a15594ecf0dba122/pusher_push_notifications-1.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4263f06d8fe2447053bc1514a5740d34", "sha256": "97f76af40a0701ff15c8e5b127149e356b9eef4ca145b00a859eba1001051310" }, "downloads": -1, "filename": "pusher_push_notifications-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4263f06d8fe2447053bc1514a5740d34", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 3917, "upload_time": "2019-01-16T14:28:50", "url": "https://files.pythonhosted.org/packages/5c/21/27152e5a0ab4faa71a35f2b97fa63d7182cd8967bd2e64a48501947408c7/pusher_push_notifications-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0a148ca08146aa6f7100a602de978697", "sha256": "34ad0c5673764f10f6d4fd5e9ca99a32740b801df39416e4a2cf84dd1ed9fb60" }, "downloads": -1, "filename": "pusher_push_notifications-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0a148ca08146aa6f7100a602de978697", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6183, "upload_time": "2019-02-06T15:16:37", "url": "https://files.pythonhosted.org/packages/e3/5a/969a59019cae84d4ff9c8c941f7129eeb01c56bc20c1b48f04e3fcc84044/pusher_push_notifications-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "820a18640728fe1d5ff40ba39a4ee850", "sha256": "59af12e285e2a2a10c58d882a2c9ee6e9d2b50870b3e0a5a3630ad7e69d8f40e" }, "downloads": -1, "filename": "pusher_push_notifications-1.1.0.tar.gz", "has_sig": false, "md5_digest": "820a18640728fe1d5ff40ba39a4ee850", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5336, "upload_time": "2019-02-06T15:16:38", "url": "https://files.pythonhosted.org/packages/c5/1d/88e5912dfa6b1c48b6c6b26174174fb3fef59a3086601ba741a2afd65296/pusher_push_notifications-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a148ca08146aa6f7100a602de978697", "sha256": "34ad0c5673764f10f6d4fd5e9ca99a32740b801df39416e4a2cf84dd1ed9fb60" }, "downloads": -1, "filename": "pusher_push_notifications-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0a148ca08146aa6f7100a602de978697", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6183, "upload_time": "2019-02-06T15:16:37", "url": "https://files.pythonhosted.org/packages/e3/5a/969a59019cae84d4ff9c8c941f7129eeb01c56bc20c1b48f04e3fcc84044/pusher_push_notifications-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "820a18640728fe1d5ff40ba39a4ee850", "sha256": "59af12e285e2a2a10c58d882a2c9ee6e9d2b50870b3e0a5a3630ad7e69d8f40e" }, "downloads": -1, "filename": "pusher_push_notifications-1.1.0.tar.gz", "has_sig": false, "md5_digest": "820a18640728fe1d5ff40ba39a4ee850", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5336, "upload_time": "2019-02-06T15:16:38", "url": "https://files.pythonhosted.org/packages/c5/1d/88e5912dfa6b1c48b6c6b26174174fb3fef59a3086601ba741a2afd65296/pusher_push_notifications-1.1.0.tar.gz" } ] }