{ "info": { "author": "J\u00f6rgen Karlsson", "author_email": "jorgen@karlsson.com", "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", "Topic :: System :: Software Distribution", "Topic :: Utilities" ], "description": "autoupgrade\n===========\n\nAutomatic upgrade of Python modules and packages\n\nquick start\n-----------\n\n::\n\n :::python\n from autoupgrade 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 autoupgrade\n\nor install latest from repo:\n\n::\n\n pip install https://bitbucket.org/jorkar/autoupgrade/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. Should be usable on Windows\nand \\*nix.\n\nTest for Python 3 will be done some time.\n\nRelease notes\n-------------\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://bitbucket.org/jorkar/autoupgrade", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/jorkar/autoupgrade", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "autoupgrade", "package_url": "https://pypi.org/project/autoupgrade/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/autoupgrade/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/jorkar/autoupgrade" }, "release_url": "https://pypi.org/project/autoupgrade/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Automatic upgrade of python modules and packages", "version": "0.2.0" }, "last_serial": 1371242, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "8e646768a8cb3ade3485ecd70fb9a73c", "sha256": "1c848d4c8bfe839894da5c1c2df54e5f7147b8e51f04b393fc9b590e656dbb5b" }, "downloads": -1, "filename": "autoupgrade-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8e646768a8cb3ade3485ecd70fb9a73c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2672, "upload_time": "2014-05-19T18:34:21", "url": "https://files.pythonhosted.org/packages/ff/c5/1d340872772cd27252748ef2fa627042ff3624da0d35b1ac34b3757a959a/autoupgrade-0.1.1.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2fb0c6f0d7cd49283d1788a4b6d39853", "sha256": "f261fe32bd6936a4dc1ec2a7bb7c1786bf5e0a2de65a33e9461dabbeb552fcc2" }, "downloads": -1, "filename": "autoupgrade-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2fb0c6f0d7cd49283d1788a4b6d39853", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3040, "upload_time": "2014-05-20T18:02:52", "url": "https://files.pythonhosted.org/packages/3d/58/b88017b0ef78a6b2eeba8b0254b6d6042ac5a3829fafc8d7622d00f7c19a/autoupgrade-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "b79d696282b37614136c827e130a60f8", "sha256": "2443c73eafaeece6d0f359bf9f963d76f4f829b5a300322ae7f22cf37718ced8" }, "downloads": -1, "filename": "autoupgrade-0.1.4.tar.gz", "has_sig": false, "md5_digest": "b79d696282b37614136c827e130a60f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3087, "upload_time": "2014-05-31T15:06:52", "url": "https://files.pythonhosted.org/packages/9c/ec/705f2b900d99b1e224bb436e0b6a1d17596e84a13fd42cbd920f4912a602/autoupgrade-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "36dc32da004c1541ba3dc3776f4094de", "sha256": "de2fba097b0301aabb8488863d5d2e32ab05b7a717009d2c1c436c3f759a19a4" }, "downloads": -1, "filename": "autoupgrade-0.1.5.tar.gz", "has_sig": false, "md5_digest": "36dc32da004c1541ba3dc3776f4094de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3177, "upload_time": "2014-08-30T05:16:08", "url": "https://files.pythonhosted.org/packages/74/00/2471c383c696577a352d9335f80fe45a09a8c8c28654792ddd0c40a99eb5/autoupgrade-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2d624612715aa45ed896408d5bcf380a", "sha256": "b0bc8e50d7a75f9b1bf2029afdc6c34914b25e1efc9e9513a3e786fdca417774" }, "downloads": -1, "filename": "autoupgrade-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2d624612715aa45ed896408d5bcf380a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3390, "upload_time": "2015-01-05T15:35:33", "url": "https://files.pythonhosted.org/packages/99/d6/294783c589c86ec3f2c579f56eb9f7511d1298a6bf1e81334faf92d1f89f/autoupgrade-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d624612715aa45ed896408d5bcf380a", "sha256": "b0bc8e50d7a75f9b1bf2029afdc6c34914b25e1efc9e9513a3e786fdca417774" }, "downloads": -1, "filename": "autoupgrade-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2d624612715aa45ed896408d5bcf380a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3390, "upload_time": "2015-01-05T15:35:33", "url": "https://files.pythonhosted.org/packages/99/d6/294783c589c86ec3f2c579f56eb9f7511d1298a6bf1e81334faf92d1f89f/autoupgrade-0.2.0.tar.gz" } ] }