{ "info": { "author": "Alexander Khaerov", "author_email": "i@hayorov.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: System :: Software Distribution", "Topic :: Utilities" ], "description": "autoupgrade3\n===========\n\nPython 3 friendly automatic upgrade of Python modules and packages\n\nquick start\n-----------\n\n::\n\n :::python\n from autoupgrade3 import AutoUpgrade\n AutoUpgrade(\"pip\").upgrade_if_needed()\n\nThe above will upgrade \"pip\" if there is a new version of pip out there.\nThe upgrade will be unattended and the python script will be restarted\n\ninstallation\n------------\n\n::\n\n pip install autoupgrade3\n\nor install latest from repo:\n\n::\n\n pip install https://bitbucket.org/jorkar/autoupgrade3/get/master.tar.gz\n\napi\n---\n\nclasses\n~~~~~~~\n\n::\n\n :::python\n class AutoUpgrade(__builtin__.object)\n\nAutoUpgrade class, holds one package\n\nMethods\n^^^^^^^\n\n::\n\n :::python\n __init__(self, pkg, index=None, verbose=False)\n\nArgs: pkg (str): name of package index (str): alternative index, if not\ngiven default from *pip* will be used. Include full index url, e.g.\nhttps://example.com/simple\n\n::\n\n :::python\n check(self)\n\nCheck if pkg has a later version Returns true if later version exists.\n\n::\n\n :::python\n restart(self)\n\nRestart application with same args as it was started. Does **not**\nreturn\n\n::\n\n :::python\n upgrade(self, dependencies=False)\n\nUpgrade the package unconditionaly Args: dependencies, update\ndependencies if True (see pip--no-deps)\n\n::\n\n :::python\n upgrade_if_needed(self, restart=True, dependencies=False)\n\nUpgrade the package if there is a later version available. Args:\nrestart, restart app if True dependencies, update dependencies if True\n(see pip --no-deps)\n\nSupported platforms\n-------------------\n\nCurrently tested on Linux with Python 2.7/3.5. Should be usable on Windows and \\*nix.\n\nRelease notes\n-------------\n\n0.2.1\n~~~~~\n\nForked from autoupgrade\nPython 3.5 support\n\n0.2.0\n~~~~~\n\nCorrections: - Issue #2, Index did not work when specified - Issue #3,\nAutoupgrade should not print to console (added verbose flag to keep\nbackward compatibility - Issue #4, Support for pip > 0.6\n\n0.1.5\n~~~~~\n\nCorrections: - Issue #1, Extra index did not work for all servers.\n\n0.1.4\n~~~~~\n\n- Fixed bug when version contains characters.\n\n0.1.3\n~~~~~\n\n- Fixed vital fault in 0.1.2\n\n0.1.2\n~~~~~\n\n- Setup file fixes\n- Removed verbose output as default\n- Return value fixed of upgrade()\n\n0.1.1\n~~~~~\n\n- Dependencies updated\n\n0.1.0\n~~~~~\n\nInitial release\n\nInfo\n====\n\n- Homepage: https://github.com/hayorov/autoupgrade3", "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/hayorov/autoupgrade3", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "autoupgrade3", "package_url": "https://pypi.org/project/autoupgrade3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/autoupgrade3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hayorov/autoupgrade3" }, "release_url": "https://pypi.org/project/autoupgrade3/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Python 3 friendly automatic upgrade of python modules and packages", "version": "0.2.1" }, "last_serial": 2186434, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "9a9d61fb0e4b3e1464a7ffee60ae1cbd", "sha256": "3d72fc4bc11befa56aae18470726af6ad126fb3c12ae399f42d69130c49d2757" }, "downloads": -1, "filename": "autoupgrade3-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9a9d61fb0e4b3e1464a7ffee60ae1cbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3705, "upload_time": "2016-06-25T08:36:47", "url": "https://files.pythonhosted.org/packages/f1/81/cf1e594c30bd8edd30f80d116d5f9defd0b9cad6ef49d7e9ba723bb0e75d/autoupgrade3-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a9d61fb0e4b3e1464a7ffee60ae1cbd", "sha256": "3d72fc4bc11befa56aae18470726af6ad126fb3c12ae399f42d69130c49d2757" }, "downloads": -1, "filename": "autoupgrade3-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9a9d61fb0e4b3e1464a7ffee60ae1cbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3705, "upload_time": "2016-06-25T08:36:47", "url": "https://files.pythonhosted.org/packages/f1/81/cf1e594c30bd8edd30f80d116d5f9defd0b9cad6ef49d7e9ba723bb0e75d/autoupgrade3-0.2.1.tar.gz" } ] }