Skip to main content

Check for differences between requirements.txt files and your environment.

Project description

pip-lock

https://img.shields.io/pypi/v/pip-lock.svg https://img.shields.io/travis/YPlan/pip-lock/master.svg

Check for differences between requirements.txt files and your environment.

Install

Install with pip:

pip install pip-lock

Example usage

from pip_lock import check_requirements

# Check requirements and exit with exit code 1 if there are mismatches
check_requirements('requirements.txt')
from pip_lock import get_mismatches

# Get mistmatches as a dictionary of tuples (expected, actual)
# e.g. {'django': ('1.10.2', None), 'requests': ('2.11.1', '2.9.2')}
mismatches = get_mismatches('requirements.txt')

History

1.0.0 (2016-10-27)

  • First release on PyPI.

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

pip-lock-1.0.0.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

pip_lock-1.0.0-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page