Skip to main content

Compare installed Python package versions with PyPI

Project description

Latest Version https://travis-ci.org/jaleskovec/reqcheck.svg?branch=master https://coveralls.io/repos/github/jaleskovec/reqcheck/badge.svg

Compare installed Python package versions with PyPI. Display the current version, latest version and age for each installed package.

Example output:

Package    Current Version    Latest Version    Behind                             Age
---------  -----------------  ----------------  ---------------------------------  -------------------------------
certifi    2020.12.5          2020.12.5         latest                             ~ 53 days (2020-12-05)
chardet    3.0.4              4.0.0             -1 version (~ 3 years 186 days)    ~ 3 years 235 days (2017-06-08)
idna       2.5                3.1               -7 versions (~ 3 years 304 days)   ~ 3 years 328 days (2017-03-07)
requests   2.17.3             2.25.1            -15 versions (~ 3 years 201 days)  ~ 3 years 244 days (2017-05-29)
urllib3    1.21.1             1.26.3            -22 versions (~ 3 years 270 days)  ~ 3 years 272 days (2017-05-02)

Installation

To install reqcheck, simply use pip:

$ pip install reqcheck

Usage

You can check requirements directly using stdin:

$ pip freeze | reqcheck

You can check requirements in a virtualenv:

$ reqcheck -v /path/to/venv

You can check requirements on the command line:

$ reqcheck requests==2.10.0 mock==2.0.0

Set constraints that will cause the command to exit with an error status (for continuous integration):

$ reqcheck --max-versions-behind 3 --max-days-behind 120 --max-age 365

Display usage help:

$ reqcheck --help

Contributing

  1. Check the pull requests to ensure that your feature hasn’t been requested already

  2. Fork the repository and make your changes in a separate branch

  3. Add unit tests for your changes

  4. Submit a pull request

  5. Contact the maintainer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reqcheck-0.1.9.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

reqcheck-0.1.9-py2.py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page