Compare installed Python package versions with PyPI
Project description
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
Check the pull requests to ensure that your feature hasn’t been requested already
Fork the repository and make your changes in a separate branch
Add unit tests for your changes
Submit a pull request
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
Built Distribution
Hashes for reqcheck-0.1.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 555c6ab19e1769cde50629216c218636cd78a5f17bd58dbe68e952da81c875d3 |
|
MD5 | 3b3e244ba30961b34ecd13b8106fa71b |
|
BLAKE2b-256 | 3bb20064f77a98047b7cf5649963b60fd799bb0dc56593dd4ed49ad65a605279 |