{ "info": { "author": "Alek Storm", "author_email": "alek.storm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries" ], "description": "-------------\nbackports.ssl\n-------------\n\nWhat is it?\n-----------\n\nIt's the Python 3.4 standard ``ssl`` module API implemented on top of\npyOpenSSL::\n\n import backports.ssl as ssl\n import socket\n\n context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)\n context.verify_mode = ssl.CERT_REQUIRED\n\n conn = context.wrap_socket(socket.socket(socket.AF_INET))\n conn.connect(('google.com', 443))\n print conn.getpeercert()\n conn.close()\n\nWhy?\n----\n\nBecause the latest web technologies should be available to those running older\nversions of Python.\n\nIsn't this obsoleted by `PEP 466`_?\n-----------------------------------\n\nIf you're on Python 2.7, then probably. But PEP 466 doesn't cover Python 2.6,\n3.2, or 3.3, and the ``ssl.RAND_*()`` functions are explicitly out of scope.\nThis package supports it all.\n\nHow do I use it with third-party libraries?\n-------------------------------------------\n\nMonkey-patching support is included a la `gevent`_::\n\n import backports.ssl.monkey as monkey\n import requests\n\n monkey.patch()\n requests.get('https://google.com')\n\n\nWhy am I getting ``AttributeError``\\ s for newer features?\n------------------------------------------------------\n\nLike the standard ``ssl`` module, certain attributes will not be available if\nyour OpenSSL does not support them. See `Installing OpenSSL`_ for instructions.\n\nInstalling OpenSSL\n------------------\n\nTODO\n----\n\n- Verify that we play nicely with gevent's monkey-patching.\n- Backport and pass the standard Python ``ssl`` test suite.\n- If not that, automate testing against hyper, urllib3, requests, and Tornado\n test suites.\n- Use the bundled 3.x OpenSSL, if available and newer than the default.\n\n.. _`PEP 466`: http://legacy.python.org/dev/peps/pep-0466\n.. _`gevent`: http://gevent.org", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alekstorm/backports.ssl", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "backports.ssl", "package_url": "https://pypi.org/project/backports.ssl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/backports.ssl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/alekstorm/backports.ssl" }, "release_url": "https://pypi.org/project/backports.ssl/0.0.9/", "requires_dist": null, "requires_python": null, "summary": "The Python 3.4 standard `ssl` module API implemented on top of pyOpenSSL", "version": "0.0.9" }, "last_serial": 1854602, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d3118405e2ced2dda82e03c78c7841a9", "sha256": "410305194f78154b6a555a0017588651de6810cc336bacf12d64ea1241d2f99e" }, "downloads": -1, "filename": "backports.ssl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d3118405e2ced2dda82e03c78c7841a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6208, "upload_time": "2014-04-09T23:39:36", "url": "https://files.pythonhosted.org/packages/61/91/d62743599f875236997ed6c6a1288d899a06a47b90e596e658140eba1747/backports.ssl-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "36c7a213ab192942f37afc21fbc8f518", "sha256": "d71bab57a88168dc2bb0f42309cbd22518edde7aff2beb8c48f947a6959661ac" }, "downloads": -1, "filename": "backports.ssl-0.0.2.tar.gz", "has_sig": false, "md5_digest": "36c7a213ab192942f37afc21fbc8f518", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10164, "upload_time": "2014-04-11T21:37:34", "url": "https://files.pythonhosted.org/packages/6b/8d/c06396a7fc53a3985d5a68fbd51fff61f712d6f7869c8ec468c1d9357975/backports.ssl-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d7f1b4e15a00b46648b1835fa0d9807a", "sha256": "06c6b37ad89bb91770173a4879dcb0abfa8e28c9c588be241238934ffedc7dd4" }, "downloads": -1, "filename": "backports.ssl-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d7f1b4e15a00b46648b1835fa0d9807a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11579, "upload_time": "2014-04-12T05:55:19", "url": "https://files.pythonhosted.org/packages/55/48/ddecd61f2172e59d9d6557210ccfe2f0df2e871a79b9229e8b7f0db2de5c/backports.ssl-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d5efc08be01dc538abf08dbec879bd84", "sha256": "153d1302aada55116d60426a44092f8eff67aee6203b52668fe8d51ec868e269" }, "downloads": -1, "filename": "backports.ssl-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d5efc08be01dc538abf08dbec879bd84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11340, "upload_time": "2014-04-19T00:25:21", "url": "https://files.pythonhosted.org/packages/59/dc/2623d21249e00567747864096ee1ae9f6e207fa2b53b83e73f647ddc72ad/backports.ssl-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "fc343b42b55be39abca10720abfb1c07", "sha256": "05b4c3d29102d4ae95be55aaf5cc65573451f11f569f42e4b886bccb62c536e0" }, "downloads": -1, "filename": "backports.ssl-0.0.5.tar.gz", "has_sig": false, "md5_digest": "fc343b42b55be39abca10720abfb1c07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11277, "upload_time": "2014-04-27T23:24:38", "url": "https://files.pythonhosted.org/packages/1f/f3/db87c8e97db426fa654f24dc444d81c74fb26985c5c53b462e8b48030d45/backports.ssl-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "8822046f5569d4712127f253a3831a38", "sha256": "ff0c12f7dc0977c156866273ebbcc286262e04b8cf7c4fa2efcc47453226ea43" }, "downloads": -1, "filename": "backports.ssl-0.0.6.tar.gz", "has_sig": false, "md5_digest": "8822046f5569d4712127f253a3831a38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11298, "upload_time": "2014-04-27T23:37:04", "url": "https://files.pythonhosted.org/packages/cb/f4/5f053311edd20b7a168883a0b4282cce261bb5585cd1542e7fcd8d4e787a/backports.ssl-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "c58f1a6a6facc8fe123ddf0522c674b5", "sha256": "a0eb2edd8f5925b76781e5f56a0e17542b25da0ffcf1cdb126fc8d524df9fbc4" }, "downloads": -1, "filename": "backports.ssl-0.0.7.tar.gz", "has_sig": false, "md5_digest": "c58f1a6a6facc8fe123ddf0522c674b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11420, "upload_time": "2015-08-19T06:07:28", "url": "https://files.pythonhosted.org/packages/f9/d0/cb560d29b6db6cd15a01c84bdb359ad49ed733ff2ce2f3b924f5096405ac/backports.ssl-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "4ba18afe6b4ce08859f7f3afaafcd2e3", "sha256": "399c3205a16855096d99acca532cbc4b8d7bcd7effcef876c8e406ab86f70a1d" }, "downloads": -1, "filename": "backports.ssl-0.0.8.tar.gz", "has_sig": false, "md5_digest": "4ba18afe6b4ce08859f7f3afaafcd2e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11547, "upload_time": "2015-12-08T04:56:34", "url": "https://files.pythonhosted.org/packages/63/79/13aff010c2711adbd395872c1d1560266c74ed20918a13a6ed808261d13c/backports.ssl-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "c25ac7a4d288aeb9a8554ad91aafae25", "sha256": "079549f44a5d52e6b6c97455cc322725e0590772237d6dc362cda57635128e1d" }, "downloads": -1, "filename": "backports.ssl-0.0.9.tar.gz", "has_sig": false, "md5_digest": "c25ac7a4d288aeb9a8554ad91aafae25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11566, "upload_time": "2015-12-09T22:20:16", "url": "https://files.pythonhosted.org/packages/ca/39/e968b8823a469dd7135ff960057aa27e8a226d2b1ac0a38701e26ce2e19f/backports.ssl-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c25ac7a4d288aeb9a8554ad91aafae25", "sha256": "079549f44a5d52e6b6c97455cc322725e0590772237d6dc362cda57635128e1d" }, "downloads": -1, "filename": "backports.ssl-0.0.9.tar.gz", "has_sig": false, "md5_digest": "c25ac7a4d288aeb9a8554ad91aafae25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11566, "upload_time": "2015-12-09T22:20:16", "url": "https://files.pythonhosted.org/packages/ca/39/e968b8823a469dd7135ff960057aa27e8a226d2b1ac0a38701e26ce2e19f/backports.ssl-0.0.9.tar.gz" } ] }