Top-rated recipes tagged "pypi"http://code.activestate.com/recipes/tags/pypi/top/2015-03-04T11:01:44-08:00ActiveState Code RecipesCheck for package updates on PyPI (works best in pip+virtualenv) (Python) 2011-05-19T17:54:43-07:00Artur Siekielskihttp://code.activestate.com/recipes/users/4177664/http://code.activestate.com/recipes/577708-check-for-package-updates-on-pypi-works-best-in-pi/ <p style="color: grey"> Python recipe 577708 by <a href="/recipes/users/4177664/">Artur Siekielski</a> (<a href="/recipes/tags/pip/">pip</a>, <a href="/recipes/tags/pypi/">pypi</a>, <a href="/recipes/tags/virtualenv/">virtualenv</a>). </p> <p>Pip has an option to upgrade a package (_pip install -U_), however it always downloads sources even if there is already a newest version installed. If you want to check updates for all installed packages then some scripting is required.</p> <p>This script checks if there is a newer version on PyPI for every installed package. It only prints information about available version and doesn't do any updates. Example output:</p> <pre class="prettyprint"><code>distribute 0.6.15 0.6.16 available Baker 1.1 up to date Django 1.3 up to date ipython 0.10.2 up to date gunicorn 0.12.1 0.12.2 available pyprof2calltree 1.1.0 up to date profilestats 1.0.2 up to date mercurial 1.8.3 up to date </code></pre> Check for package updates on PyPI (works best in pip+virtualenv) (Python) 2015-03-04T11:01:44-08:00migonzalvarhttp://code.activestate.com/recipes/users/4191750/http://code.activestate.com/recipes/579030-check-for-package-updates-on-pypi-works-best-in-pi/ <p style="color: grey"> Python recipe 579030 by <a href="/recipes/users/4191750/">migonzalvar</a> (<a href="/recipes/tags/pip/">pip</a>, <a href="/recipes/tags/pypi/">pypi</a>, <a href="/recipes/tags/virtualenv/">virtualenv</a>). </p> <p>Pip has an option to upgrade a package (_pip install -U_), however it always downloads sources even if there is already a newest version installed. If you want to check updates for all installed packages then some scripting is required.</p> <p>This script checks if there is a newer version on PyPI for every installed package. It only prints information about available version and doesn't do any updates. Example output:</p> <pre class="prettyprint"><code>distribute 0.6.15 0.6.16 available Baker 1.1 up to date Django 1.3 up to date ipython 0.10.2 up to date gunicorn 0.12.1 0.12.2 available pyprof2calltree 1.1.0 up to date profilestats 1.0.2 up to date mercurial 1.8.3 up to date </code></pre>