{ "info": { "author": "Sardar Yumatov", "author_email": "ja.doma@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "apns-client.\n====================================\nPython client for `Apple Push Notification service (APNs) `_.\nCheck `documentation `_ to learn how to use it.\n\nCheck the client with similar interface for `Google Cloud Messaging `_.\n\n\nRequirements\n------------\n\n- `six `_ - Python 2 and 3 compatibility library.\n- `pyOpenSSL `_ - OpenSSL wrapper.\n Required by standard networking back-end.\n\nStandard library has support for `SSL transport\n`_. However, it is impossible to use\nit with certificates provided as a string. We store certificates in database,\nbecause we handle different apps on many Celery worker machines. A dirty\nsolution would be to create temporary files, but it is insecure and slow. So,\nwe have decided to use a better OpenSSL wrapper and ``pyOpenSSL`` was the\neasiest to handle. ``pyOpenSSL`` is loaded on demand by standard networking\nback-end. If you use your own back-end, based on some other SSL implementation,\nthen you don't have to install ``pyOpenSSL``.\n\n\nAlternatives\n------------\n\nThere are `many alternatives\n`_\navailable. We have started with `pyapns `_\nand `APNSWrapper `_. This library\ndiffers in the following design decisions:\n\n- *Support certificates from strings*. We do not distribute certificate files\n on worker machines, they fetch it from the database when needed. This\n approach simplifies deployment, upgrades and maintenance.\n- *Keep connections persistent*. An SSL handshaking round is slow. Once\n connection is established, it should remain open for at least few minutes,\n waiting for the next batch.\n- *Support enhanced format*. Apple developers have designed a notoriously bad\n push protocol. They have upgraded it to enhanced version, which makes it\n possible to detect which messages in the batch have failed.\n- *Clean pythonic API*. No need for lots of classes, long lists of exceptions etc.\n- *Do not hard-code validation, let APNs fail*. This decision makes library\n a little bit more future proof.\n\nChangelog\n---------\n*v0.2*\n Networking layer became pluggable, making ``gevent`` based implementations\n possible. Everything is refactored, such that IO, multi-threading and SSL\n are now loaded and used on demand, allowing you to cleanly override any\n part of the client. The API is largely backward compatible. IO related\n configuration is moved to transport layer and exception handling is a bit\n more verbose. The client is using standard logging to send fine grained\n debug messages.\n\n*v0.1*\n First simple implementation, hardwired with raw sockets and ``pyOpenSSL``.\n It does not work in ``gevent`` or any other *green* environment.\n\n\nSupport\n-------\nAPNs client was created by `Sardar Yumatov `_,\ncontact me if you find any bugs or need help. Contact `Getlogic\n`_ if you need a full-featured push notification service\nfor all popular platforms. You can view outstanding issues on the `APNs\nBitbucket page `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sardarnl/apns-client", "keywords": "apns push notification apple messaging iOS", "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "apns-client", "package_url": "https://pypi.org/project/apns-client/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/apns-client/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/sardarnl/apns-client" }, "release_url": "https://pypi.org/project/apns-client/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Python client for Apple Push Notification service (APNs)", "version": "0.2.1" }, "last_serial": 1127402, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "027e56f741412eb32cdc4d17a470f0dc", "sha256": "c350936a8d268ac53296c85967bab928e03c39aa2968a57c12e84a0247c018c7" }, "downloads": -1, "filename": "apns-client-0.1.1.tar.gz", "has_sig": false, "md5_digest": "027e56f741412eb32cdc4d17a470f0dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12918, "upload_time": "2013-03-22T20:17:02", "url": "https://files.pythonhosted.org/packages/4a/e9/54f28fdcac77cb5db2a008293778203851422ac23120769168ddac1a5266/apns-client-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b940221ba68fa967167672efa8be836b", "sha256": "67158a75c274cd5b393f369445a4e6ad98df3d553c235f2ee8ef64bb7ff935ac" }, "downloads": -1, "filename": "apns-client-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b940221ba68fa967167672efa8be836b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16449, "upload_time": "2013-03-22T20:21:06", "url": "https://files.pythonhosted.org/packages/c3/76/b73d8d655a12389eeb37a052a02f7f86f9d8d77b38b7ab07a0389a38b6fc/apns-client-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "0375973dd19c0b8692098528e8b62f98", "sha256": "791791c749c59f9c583594410a4a7672f9b58506a5d3f8459847696655f7359d" }, "downloads": -1, "filename": "apns-client-0.1.3.tar.gz", "has_sig": false, "md5_digest": "0375973dd19c0b8692098528e8b62f98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18777, "upload_time": "2013-03-26T20:34:49", "url": "https://files.pythonhosted.org/packages/8b/5f/55782ea9ac69107b4d7365b9677a152817f4843a860969bcb71b63204230/apns-client-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "c76d028e597e0c5c560acaec0c51c61b", "sha256": "dc150a57619597de65dce0456065e964982b225c3a62922215bf5b4ee31226fe" }, "downloads": -1, "filename": "apns-client-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c76d028e597e0c5c560acaec0c51c61b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19332, "upload_time": "2013-04-25T14:18:48", "url": "https://files.pythonhosted.org/packages/4e/c5/b097abe705839992c82c75659c792ad95ece0086f640819160e20e0c7d7a/apns-client-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "99bfb6fe519e79287727fd342e1b2add", "sha256": "94412742a832c9d483487f33094ab3eb6c5c5bebc7d91c6c90c2118c8c6409e1" }, "downloads": -1, "filename": "apns-client-0.1.5.tar.gz", "has_sig": false, "md5_digest": "99bfb6fe519e79287727fd342e1b2add", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19653, "upload_time": "2013-05-15T12:40:39", "url": "https://files.pythonhosted.org/packages/1e/1f/a17f38566cbbb219beed08189b9043d3fde58ddad0cc4cd46cffd460ff67/apns-client-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "e5c287dbcf181586baa712483cea62b3", "sha256": "567cdb76062e964273f1fdb5eb2a2d66ea0d6f168a447c6555d1aff1f1c21714" }, "downloads": -1, "filename": "apns-client-0.1.6.tar.gz", "has_sig": false, "md5_digest": "e5c287dbcf181586baa712483cea62b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19998, "upload_time": "2013-06-21T14:43:56", "url": "https://files.pythonhosted.org/packages/03/fe/d2c1b275c13670348c7947f8c9c3df60659b10398a97efc9384e26d95d3f/apns-client-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "77f1a4c0f3b950791a3e219842400f1f", "sha256": "6a829704125f76fa42c421e36ab2c7d4ba47fd5a43a31851bce3d1f5231160dd" }, "downloads": -1, "filename": "apns-client-0.1.7.tar.gz", "has_sig": false, "md5_digest": "77f1a4c0f3b950791a3e219842400f1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20594, "upload_time": "2013-09-04T13:49:30", "url": "https://files.pythonhosted.org/packages/80/d6/0de700f2f4e71d7f72480b50b95d7f43c9da5b5a3c8278a24c26b9914f61/apns-client-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "7bcb8b4836d1bda76731fe329789653c", "sha256": "9b030d21b604491d779142637a9fe667d80861ed8679b36576e864cc7b4d6fa4" }, "downloads": -1, "filename": "apns-client-0.1.8.tar.gz", "has_sig": false, "md5_digest": "7bcb8b4836d1bda76731fe329789653c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20714, "upload_time": "2013-09-29T10:09:32", "url": "https://files.pythonhosted.org/packages/28/c8/dca8b7d79d83a96b92b3c5ca642ba6e31bad4c417758f80ee5445e3b56bb/apns-client-0.1.8.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "f92d72263ea517c8cf0426637accbbe0", "sha256": "ebbff4f45d25664e5bfafdc39929f835dc28e282e60bf497c12d597ef8845ae2" }, "downloads": -1, "filename": "apns-client-0.2.tar.gz", "has_sig": false, "md5_digest": "f92d72263ea517c8cf0426637accbbe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33235, "upload_time": "2014-06-11T09:39:44", "url": "https://files.pythonhosted.org/packages/fa/fb/b2af50e4d9ce05734d7bfd8cfa4659821ee62929c7323a0941f9f0d9a817/apns-client-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "11b4b21c95b0bfa10ac0edf692aee551", "sha256": "42ece7fa61b216f7b7140a33a651df57230a6cfbbf4b9e4a2d2a61275701aa58" }, "downloads": -1, "filename": "apns-client-0.2.1.tar.gz", "has_sig": false, "md5_digest": "11b4b21c95b0bfa10ac0edf692aee551", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33444, "upload_time": "2014-06-17T09:13:09", "url": "https://files.pythonhosted.org/packages/6c/f9/e142ea0110d3d056dd8fae3ce2606b71ac0c1e035dc4c058aa9373fe21d3/apns-client-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "11b4b21c95b0bfa10ac0edf692aee551", "sha256": "42ece7fa61b216f7b7140a33a651df57230a6cfbbf4b9e4a2d2a61275701aa58" }, "downloads": -1, "filename": "apns-client-0.2.1.tar.gz", "has_sig": false, "md5_digest": "11b4b21c95b0bfa10ac0edf692aee551", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33444, "upload_time": "2014-06-17T09:13:09", "url": "https://files.pythonhosted.org/packages/6c/f9/e142ea0110d3d056dd8fae3ce2606b71ac0c1e035dc4c058aa9373fe21d3/apns-client-0.2.1.tar.gz" } ] }