{ "info": { "author": "Sebastian Kreft", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "backport_ipaddress\n==================\n\n.. image:: https://badge.fury.io/py/backport_ipaddress.png\n :target: http://badge.fury.io/py/backport_ipaddress\n\n.. image:: https://travis-ci.org/sk-/backport_ipaddress.png?branch=master\n :target: https://travis-ci.org/sk-/backport_ipaddress\n\n.. image:: https://coveralls.io/repos/sk-/backport_ipaddress/badge.png?branch=master\n :target: https://coveralls.io/r/sk-/backport_ipaddress?branch=master\n\nbackport_collections is a backport of Python 3's ``ipaddress`` module for Python 2.6 and Python 2.7.\nIt is based on the backport of S\u00f8ren L\u00f8vborg (https://bitbucket.org/kwi/py2-ipaddress/).\n\nWhat is backported?\n-------------------\n\nThe ``ipaddress`` module.\n\nUsage\n-----\n\nTo use it just import the module ``ipaddress`` as you would in Python 3.\nExample::\n\n import ipaddress\n\nDifferences\n-----------\n\nGiven that there is no real ``bytes`` types in Python 2, we are using ``bytearray``, which is a\nmutable version of ``bytes`` and in Python 2, has fewer methods.\n\nSo if in Python 3 you would do::\n\n ipaddress.ip_address(b'\\x00\\x00\\x00\\x00')\n\nwith this port you need to do::\n\n ipaddress.ip_address(bytearray('\\x00\\x00\\x00\\x00'))\n\nMissing\n-------\n\nOne thing that is missing and could be important for performance is the\n``lru_cache`` for many of the methods. ``functools`` in Python 2 does not have\nsuch decorator. Maybe in the future I will backport that method as well.\n\nLicense\n-------\n\nThe Python Software Foundation License.\n\nChanges\n-------\n\n* v0.1 (15/08/2014): Synced to revision http://hg.python.org/cpython/rev/15bfb82194fa", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/sk-/backport_ipaddress", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "backport_ipaddress", "package_url": "https://pypi.org/project/backport_ipaddress/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/backport_ipaddress/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/sk-/backport_ipaddress" }, "release_url": "https://pypi.org/project/backport_ipaddress/0.1/", "requires_dist": null, "requires_python": null, "summary": "Backport of Python 3's ipaddress module", "version": "0.1" }, "last_serial": 1208992, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9c1f45f4361f71b124d7293a60006c05", "sha256": "860e338c08e2e9d998ed8434e944af9780e2baa337d1544cc26c9b1763b7735c" }, "downloads": -1, "filename": "backport_ipaddress-0.1.tar.gz", "has_sig": false, "md5_digest": "9c1f45f4361f71b124d7293a60006c05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31610, "upload_time": "2014-09-01T09:49:53", "url": "https://files.pythonhosted.org/packages/d3/30/54c6dab05a4dec44db25ff309f1fbb6b7a8bde3f2bade38bb9da67bbab8f/backport_ipaddress-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c1f45f4361f71b124d7293a60006c05", "sha256": "860e338c08e2e9d998ed8434e944af9780e2baa337d1544cc26c9b1763b7735c" }, "downloads": -1, "filename": "backport_ipaddress-0.1.tar.gz", "has_sig": false, "md5_digest": "9c1f45f4361f71b124d7293a60006c05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31610, "upload_time": "2014-09-01T09:49:53", "url": "https://files.pythonhosted.org/packages/d3/30/54c6dab05a4dec44db25ff309f1fbb6b7a8bde3f2bade38bb9da67bbab8f/backport_ipaddress-0.1.tar.gz" } ] }