{ "info": { "author": "Peter Sagerson", "author_email": "psagers@getcloak.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "apns-worker\n===========\n\nThis is a client library for Apple's push notification service. It is not the\nfirst such library for Python, but, as is often the way, the existing options\ndidn't quite meet our needs:\n\n#. **No dependencies** (other than six).\n#. **Fire and forget**. APNs is a quirky binary protocol that frequently requires\n reconnecting to the service and re-sending notifications after an error.\n#. **Robust**. We don't do quick and dirty here. Readability, tests, and\n documentation are not optional.\n\n\nQuick start\n-----------\n\nAn APNs client is by nature stateful. The default apns-worker backend uses\nPython threads to asynchronously process a queue of messages to send to the\nservice. Most users will want to maintain a global ApnsManager instance to\nprocess messages. Note that if your own program is threaded, you may need to\ntake care to create this global instance safely.\n\n::\n\n from apns_worker import ApnsManager\n\n apns = None\n\n def init_apns(key_path, cert_path):\n \"\"\" Call this once at program init time. \"\"\"\n global apns\n apns = ApnsManager(key_path, cert_path)\n\n def send_badge(token, badge=1):\n \"\"\" Badge the app on a single device. \"\"\"\n apns.send_aps([token], badge=badge)", "description_content_type": null, "docs_url": "https://pythonhosted.org/apns-worker/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bbits/apns-worker", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "apns-worker", "package_url": "https://pypi.org/project/apns-worker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/apns-worker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bbits/apns-worker" }, "release_url": "https://pypi.org/project/apns-worker/0.1/", "requires_dist": null, "requires_python": null, "summary": "A robust client library for Apple's push notification service.", "version": "0.1" }, "last_serial": 1774844, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3fb9b7fde44013716168cc9987237513", "sha256": "d5081549ed44a042971bf855bd794c288317f1a86e801e3ccd833057a32de089" }, "downloads": -1, "filename": "apns_worker-0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "3fb9b7fde44013716168cc9987237513", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22640, "upload_time": "2015-10-18T16:19:29", "url": "https://files.pythonhosted.org/packages/9a/73/1db0dc1a14aadb72fd09bd4de3cafd04eedde61a5f25a501cbccee74aaf9/apns_worker-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8aafd27a31ef82b73bc700a624b4388f", "sha256": "1fc300497e914456d06eee7cac22d191c7164214a32bf8a29e390ff877c0604d" }, "downloads": -1, "filename": "apns-worker-0.1.tar.gz", "has_sig": true, "md5_digest": "8aafd27a31ef82b73bc700a624b4388f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26820, "upload_time": "2015-10-07T20:19:59", "url": "https://files.pythonhosted.org/packages/0e/b3/2c08839ee9cb57740267c24ff99ccce87f90c8d4ebb307607bd34bb7c32d/apns-worker-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3fb9b7fde44013716168cc9987237513", "sha256": "d5081549ed44a042971bf855bd794c288317f1a86e801e3ccd833057a32de089" }, "downloads": -1, "filename": "apns_worker-0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "3fb9b7fde44013716168cc9987237513", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22640, "upload_time": "2015-10-18T16:19:29", "url": "https://files.pythonhosted.org/packages/9a/73/1db0dc1a14aadb72fd09bd4de3cafd04eedde61a5f25a501cbccee74aaf9/apns_worker-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8aafd27a31ef82b73bc700a624b4388f", "sha256": "1fc300497e914456d06eee7cac22d191c7164214a32bf8a29e390ff877c0604d" }, "downloads": -1, "filename": "apns-worker-0.1.tar.gz", "has_sig": true, "md5_digest": "8aafd27a31ef82b73bc700a624b4388f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26820, "upload_time": "2015-10-07T20:19:59", "url": "https://files.pythonhosted.org/packages/0e/b3/2c08839ee9cb57740267c24ff99ccce87f90c8d4ebb307607bd34bb7c32d/apns-worker-0.1.tar.gz" } ] }