Package description
Project description
Python utility to compare requirements files. Very useful for comparing your installed dependencies (pip freeze) vs dependencies in requirements.txt
cmpreqs[ <file 1>[ <file 2>]][ --pipdeptree]
Available arguments:
file1: First file to compare. By default requirements.txt
file2: Second file to compare. By default pip freeze output.
–pipdeptree: Use pipdeptree instead pip freeze and show only dependencies that have not been installed by other dependencies.
Output example:
Different dependencies ====================== Name requirements.txt Input 2 -------------------- ---------------- ------- py3dns None 3.1.0 django-reversion 2.0.6 1.10.2 python-memcached 1.50 1.58 Equal dependencies ================== Name Version ------------------------------------ ------- django-hosts 2.0 mailgun2 0.1.4 django-q 0.7.15 Only available on requirements.txt ================================== Name Version -------------------------------- ---------------------------------------- django-tables2 0.15.0 requests 2.11.1 django_easy_select2-dev 50522d1c71ff19a2124fa735b765ae88f9b859c1 pytz 2016.6.1 Only available on Input 2 ========================= Name Version --------------------------- ------------ django-registration-redux 1.1 ipython 2.4.0 Markdown 2.5.2 django-phonenumber-field 0.7.1
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
Close
Hashes for compare-requirements-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5441098c97d63950a9c9a0b3fb2c5654d75e2ad3f5b5e2d4d6aee3f088252fde |
|
MD5 | c6afa516552aad1a1411a69187fd00ce |
|
BLAKE2b-256 | c148f7bd2724230f459befc79924ae5ffa7cc5fe431c6602616259e396021b4d |