{ "info": { "author": "Stefan Behnel et al.", "author_email": "cython-devel@python.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "=============\nABC-Backports\n=============\n\nUsage:\n\n.. code-block:: python\n\n try:\n # ABCs live in \"collections.abc\" in Python >= 3.3\n from collections.abc import Coroutine, Generator\n except ImportError:\n # fall back to import from \"backports_abc\"\n from backports_abc import Coroutine, Generator\n\nYou can also install the ABCs into the stdlib by calling the ``patch()``\nfunction:\n\n.. code-block:: python\n\n import backports_abc\n backports_abc.patch()\n\n try:\n # ABCs live in \"collections.abc\" in Python >= 3.3\n from collections.abc import Coroutine, Generator\n except ImportError:\n # fall back to import from \"collections\" in Python <= 3.2\n from backports_abc import Coroutine, Generator\n\nCurrently, ``patch()`` provides the following names if missing:\n\n* ``collections.abc.Generator``\n* ``collections.abc.Awaitable``\n* ``collections.abc.Coroutine``\n* ``inspect.isawaitable(obj)``\n\nAll of them are also available directly from the ``backports_abc``\nmodule namespace.\n\nIn Python 2.x and Python 3.2, it patches the ``collections`` module\ninstead of the ``collections.abc`` module. Any names that are already\navailable when importing this module will not be overwritten.\n\nThe names that were previously patched by ``patch()`` can be queried\nthrough the mapping in ``backports_abc.PATCHED``.\n\nChangelog\n=========\n\n0.5 (2016-11-12)\n----------------\n\n* support old-style (mro-missing) classes\n\n0.4 (2015-09-14)\n----------------\n\n* direct wheel building support\n\n* make all names available at the module level instead of requiring patching\n\n\n0.3 (2015-07-03)\n----------------\n\n* removed patching of ``inspect.iscoroutine()`` as it is not ABC based\n\n\n0.2 (2015-07-03)\n----------------\n\n* require explicit ``backports_abc.patch()`` call to do the patching\n (avoids side-effects on import and allows future configuration)\n\n* provide access to patched names through global ``PATCHED`` dict\n\n* add ABC based implementations of inspect.iscoroutine() and\n inspect.isawaitable()\n\n\n0.1 (2015-06-24)\n----------------\n\n* initial public release\n\n* provided ABCs: Generator, Coroutine, Awaitable", "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/cython/backports_abc", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "backports_abc", "package_url": "https://pypi.org/project/backports_abc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/backports_abc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/cython/backports_abc" }, "release_url": "https://pypi.org/project/backports_abc/0.5/", "requires_dist": null, "requires_python": null, "summary": "A backport of recent additions to the 'collections.abc' module.", "version": "0.5" }, "last_serial": 2456679, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6ac4355dc69213f2fd6c5348b6076420", "sha256": "4b599d1fdf92a6a0290d70879512b7875573159bbd648866c22ce0f35a16ce33" }, "downloads": -1, "filename": "backports_abc-0.1.tar.gz", "has_sig": true, "md5_digest": "6ac4355dc69213f2fd6c5348b6076420", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3916, "upload_time": "2015-06-24T20:37:15", "url": "https://files.pythonhosted.org/packages/24/6d/9e6643cb21a74abdc2db74d060a293fb5d1bd6e43242481cd5af257e2c31/backports_abc-0.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "bbd286a88416d3eb7473aa070e95ce66", "sha256": "2ba6af05b05546c981c1dd00f648039c91972241580d1f4a05ee00559bd11b20" }, "downloads": -1, "filename": "backports_abc-0.3.tar.gz", "has_sig": true, "md5_digest": "bbd286a88416d3eb7473aa070e95ce66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4772, "upload_time": "2015-07-03T20:17:11", "url": "https://files.pythonhosted.org/packages/c3/5e/09aefe42a2ef8126b2b5b27adefeb974bfae752bf5edc5c2c577129f148c/backports_abc-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "c36901a538881e8113dfd0feca2d83bc", "sha256": "c64508e766dfe09a94a442c12b57c6e098a402921ecb340a4ec57c7e10fd464c" }, "downloads": -1, "filename": "backports_abc-0.4-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "c36901a538881e8113dfd0feca2d83bc", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 5094, "upload_time": "2015-09-14T17:56:03", "url": "https://files.pythonhosted.org/packages/f5/5e/57e1afdc63d8c37496b2f6d9cb0ddfc4a3d55c949074debeab7594c19b54/backports_abc-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b65a216ce9dc9c1a7e20a729dd7c05b", "sha256": "8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5" }, "downloads": -1, "filename": "backports_abc-0.4.tar.gz", "has_sig": true, "md5_digest": "0b65a216ce9dc9c1a7e20a729dd7c05b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5593, "upload_time": "2015-09-14T17:54:04", "url": "https://files.pythonhosted.org/packages/f5/d0/1d02695c0dd4f0cf01a35c03087c22338a4f72e24e2865791ebdb7a45eac/backports_abc-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "8a2af5176b751b185b8cb2241e0f40fc", "sha256": "52089f97fe7a9aa0d3277b220c1d730a85aefd64e1b2664696fe35317c5470a7" }, "downloads": -1, "filename": "backports_abc-0.5-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8a2af5176b751b185b8cb2241e0f40fc", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5232, "upload_time": "2016-11-12T16:05:34", "url": "https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d1936ec183a3586290adf60f6f96764", "sha256": "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde" }, "downloads": -1, "filename": "backports_abc-0.5.tar.gz", "has_sig": true, "md5_digest": "7d1936ec183a3586290adf60f6f96764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9807, "upload_time": "2016-11-12T16:05:31", "url": "https://files.pythonhosted.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8/backports_abc-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a2af5176b751b185b8cb2241e0f40fc", "sha256": "52089f97fe7a9aa0d3277b220c1d730a85aefd64e1b2664696fe35317c5470a7" }, "downloads": -1, "filename": "backports_abc-0.5-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "8a2af5176b751b185b8cb2241e0f40fc", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5232, "upload_time": "2016-11-12T16:05:34", "url": "https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d1936ec183a3586290adf60f6f96764", "sha256": "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde" }, "downloads": -1, "filename": "backports_abc-0.5.tar.gz", "has_sig": true, "md5_digest": "7d1936ec183a3586290adf60f6f96764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9807, "upload_time": "2016-11-12T16:05:31", "url": "https://files.pythonhosted.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8/backports_abc-0.5.tar.gz" } ] }