pycheckupdate

Warn users if they are using an older version of a package


Keywords
pycheckupdate
License
MIT
Install
pip install pycheckupdate==0.12.1

Documentation

PyCheckUpdate

Utility that allows package creators to automatically
check if newer version of a given package is available on PyPi.

Installation

Just install it with pip

$ pip install pycheckupdate

Basic Usage

>>> is_outdated('pip')

Settings

By default the actual check is made only if the last check was made at least
7 days before or it was not done at all. However it is possible to pass a timedelta object to is_outdated as the delta parameter to change this behaviour.

Moreover it is possible to set an arbitrary PyPi server URL using the pypi_url parameter. By default is http://pypi.python.org/pypi/.