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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

Details for the file reqcheck-0.1.9.tar.gz.

File metadata

  • Download URL: reqcheck-0.1.9.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.2

File hashes

Hashes for reqcheck-0.1.9.tar.gz
Algorithm Hash digest
SHA256 e6df2cb95f19b064f6ac91de9c44d79dfdf07e51adfd7290fde9186b5d361095
MD5 1038bec5c1bd25613a2bd2df192698cb
BLAKE2b-256 3299b6ee7fbce6b3b7582db107dfe021a89f3f6798172eace136ff593a309ea5

See more details on using hashes here.

File details

Details for the file reqcheck-0.1.9-py2.py3-none-any.whl.

File metadata

  • Download URL: reqcheck-0.1.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.2

File hashes

Hashes for reqcheck-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 555c6ab19e1769cde50629216c218636cd78a5f17bd58dbe68e952da81c875d3
MD5 3b3e244ba30961b34ecd13b8106fa71b
BLAKE2b-256 3bb20064f77a98047b7cf5649963b60fd799bb0dc56593dd4ed49ad65a605279

See more details on using hashes here.

Supported by

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