{ "info": { "author": "Armin Ronacher", "author_email": "armin.ronacher@active-4.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "::\n\n Python _ _ \n _ __ ___ __| |___ _ _ _ _ (_)______ \n | ' \\/ _ \\/ _` / -_) '_| ' \\| |_ / -_)\n |_|_|_\\___/\\__,_\\___|_| |_||_|_/__\\___|\n\nThis library is a very thin wrapper around `lib2to3\n`_ to utilize it\nto make Python 2 code more modern with the intention of eventually\nporting it over to Python 3.\n\nThe ``python-modernize`` command works like `2to3\n`_. Here's how you'd rewrite a\nsingle file::\n\n python-modernize -w example.py\n\nIt does not guarantee, but it attempts to spit out a codebase compatible\nwith Python 2.6+ or Python 3. The code that it generates has a runtime\ndependency on `six `_, unless the\n``--no-six`` option is used. Version 1.9.0 or later of ``six`` is\nrecommended. Some of the fixers output code that is not compatible with\nPython 2.5 or lower.\n\n**Documentation:** `python-modernize.readthedocs.io\n`_.\n\nSee the ``LICENSE`` file for the license of ``python-modernize``.\nUsing this tool does not affect licensing of the modernized code.\n\n.. image:: https://readthedocs.org/projects/python-modernize/badge/\n :target: https://readthedocs.org/projects/python-modernize/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://api.travis-ci.org/python-modernize/python-modernize.svg?branch=master\n :target: https://travis-ci.org/python-modernize/python-modernize\n\n.. image:: https://coveralls.io/repos/python-modernize/python-modernize/badge.png?branch=master\n :target: https://coveralls.io/r/python-modernize/python-modernize?branch=master\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/python-modernize/python-modernize", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "modernize", "package_url": "https://pypi.org/project/modernize/", "platform": "", "project_url": "https://pypi.org/project/modernize/", "project_urls": { "Homepage": "https://github.com/python-modernize/python-modernize" }, "release_url": "https://pypi.org/project/modernize/0.7/", "requires_dist": null, "requires_python": "", "summary": "A hack on top of 2to3 for modernizing code for hybrid codebases.", "version": "0.7" }, "last_serial": 4860841, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "762ed0e73d1af3143349aa121ee9529e", "sha256": "25fbdbebb20dcb85dd44bcf8e1fa78bf407662f6493d7951ee70d925cc2880eb" }, "downloads": -1, "filename": "modernize-0.2.tar.gz", "has_sig": false, "md5_digest": "762ed0e73d1af3143349aa121ee9529e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7132, "upload_time": "2012-03-14T10:56:00", "url": "https://files.pythonhosted.org/packages/b2/11/3407a248791da00ea272d95f06d398024c06e67a6af13f3bb7a62d592f8b/modernize-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "edc8ccf1410c4410d931d37ac8facb9c", "sha256": "c64425be14ffcadeabfb5abbd592d3682b108feb3471603f2e3d352229a2f351" }, "downloads": -1, "filename": "modernize-0.3.tar.gz", "has_sig": false, "md5_digest": "edc8ccf1410c4410d931d37ac8facb9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11279, "upload_time": "2014-08-12T23:19:30", "url": "https://files.pythonhosted.org/packages/6f/49/30d6a5de4e327468656e6867d2788d0e2c161019fefc7e07f7afb7a9d6cb/modernize-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "d9f46e1b6c8042b7ea22bc2a8cc8f373", "sha256": "e40a19558b9dab530e7f26de9235e5ca94486e2a516cd9153efbe9014feffc94" }, "downloads": -1, "filename": "modernize-0.4.tar.gz", "has_sig": true, "md5_digest": "d9f46e1b6c8042b7ea22bc2a8cc8f373", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10973, "upload_time": "2014-10-14T16:59:37", "url": "https://files.pythonhosted.org/packages/c4/6c/de77336a965f9d303cb64e63297c26329f3d930adf9fb0526cf4223b6e9e/modernize-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "26db4c53bbe6639660dead3e0b7c6a3d", "sha256": "358dbb35baec7619d9b7cd5efed532c9f4a2e4e4a80f70c4d03f7aa30f76905d" }, "downloads": -1, "filename": "modernize-0.5.tar.gz", "has_sig": false, "md5_digest": "26db4c53bbe6639660dead3e0b7c6a3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13941, "upload_time": "2016-02-02T14:25:33", "url": "https://files.pythonhosted.org/packages/d5/e7/92d89a6814f52add2c334be42108c4eac8763f8e147716595a55cabd921a/modernize-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "998918da1a6ab99257ce67f016d69ea4", "sha256": "79405413de5ff3dab5f317fb83dc5add783676817bebcce6853b7c9a8dc37273" }, "downloads": -1, "filename": "modernize-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "998918da1a6ab99257ce67f016d69ea4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26829, "upload_time": "2018-01-08T12:26:38", "url": "https://files.pythonhosted.org/packages/2c/61/4514de8b67590c54601b02aad6aa67835838e59c4a7498b6e6846c28929a/modernize-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "054c6e6e532b3354157d32e5bb30a7b6", "sha256": "e26c32c1bbf0f686f8c803691d8ffb4ddaaee1e60aa9bdf97257d80f2a5e4d29" }, "downloads": -1, "filename": "modernize-0.6.tar.gz", "has_sig": false, "md5_digest": "054c6e6e532b3354157d32e5bb30a7b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17183, "upload_time": "2018-01-08T12:26:40", "url": "https://files.pythonhosted.org/packages/4e/d5/265c41fd62c4bae2fde7775fd915d864b92c21a588645e99b05a44c63446/modernize-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "4cb56c5847b74a726b0e3578d4e6afc6", "sha256": "30024d839f018843b49fb68edf0f207ca2a5b819727ecaf2bc91a8590a1c0a60" }, "downloads": -1, "filename": "modernize-0.6.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4cb56c5847b74a726b0e3578d4e6afc6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27199, "upload_time": "2018-04-21T08:18:57", "url": "https://files.pythonhosted.org/packages/d5/16/d698a0bc42df790f5c3a118ddb38d5042854149c522923a9b169b743ab0a/modernize-0.6.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "82bda5d246b1eafa1f78bbf82901c409", "sha256": "63dad17ada68105ec18d6c3ae5eaba0b37a412aa3442e1e3d64e088bb8d93dc7" }, "downloads": -1, "filename": "modernize-0.6.1.tar.gz", "has_sig": false, "md5_digest": "82bda5d246b1eafa1f78bbf82901c409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17496, "upload_time": "2018-04-21T08:18:59", "url": "https://files.pythonhosted.org/packages/a2/09/0e4f4156a3970dccd2bb6aa573cbc7b9b4ce92d31b701b07c95f2d498210/modernize-0.6.1.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "0748f20a31235d2a1b0f1ec237d5bd6e", "sha256": "74083e971b0b33dcdbfbc5e25628ae7673aa9ede2ce9b7e86fe6a3e52b26c550" }, "downloads": -1, "filename": "modernize-0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0748f20a31235d2a1b0f1ec237d5bd6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26738, "upload_time": "2019-02-24T12:40:27", "url": "https://files.pythonhosted.org/packages/3d/a9/775b3ca21084424ba31f417b7f3941f2002a83dc588d4db99352012bd5ba/modernize-0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80e356e4218f6a293f76d9e362aaaaec", "sha256": "d4f6a3555b1621281ee013d830337c72c133c6318efaac6fc24fe6afa0cc1ab6" }, "downloads": -1, "filename": "modernize-0.7.tar.gz", "has_sig": false, "md5_digest": "80e356e4218f6a293f76d9e362aaaaec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18277, "upload_time": "2019-02-24T12:40:29", "url": "https://files.pythonhosted.org/packages/19/3a/0a9370dfc158492b9cac1acb723b7a0f61580cec7233bf0859c1f26ddbd5/modernize-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0748f20a31235d2a1b0f1ec237d5bd6e", "sha256": "74083e971b0b33dcdbfbc5e25628ae7673aa9ede2ce9b7e86fe6a3e52b26c550" }, "downloads": -1, "filename": "modernize-0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0748f20a31235d2a1b0f1ec237d5bd6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26738, "upload_time": "2019-02-24T12:40:27", "url": "https://files.pythonhosted.org/packages/3d/a9/775b3ca21084424ba31f417b7f3941f2002a83dc588d4db99352012bd5ba/modernize-0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80e356e4218f6a293f76d9e362aaaaec", "sha256": "d4f6a3555b1621281ee013d830337c72c133c6318efaac6fc24fe6afa0cc1ab6" }, "downloads": -1, "filename": "modernize-0.7.tar.gz", "has_sig": false, "md5_digest": "80e356e4218f6a293f76d9e362aaaaec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18277, "upload_time": "2019-02-24T12:40:29", "url": "https://files.pythonhosted.org/packages/19/3a/0a9370dfc158492b9cac1acb723b7a0f61580cec7233bf0859c1f26ddbd5/modernize-0.7.tar.gz" } ] }