Check for differences between requirements.txt files and your environment.
Project description
pip-lock
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
New notes here
1.0.2 (2016-10-28)
Fix relative paths for all environments
1.0.1 (2016-10-28)
Support relative requirements.txt paths
1.0.0 (2016-10-27)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for pip_lock-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9192c8c6c5b7f051b42389e494e425bfd161587c57b7476fa7be97098757827d |
|
MD5 | c5c0adde3b2a7456823c257c73a85866 |
|
BLAKE2b-256 | 14011b532ecb79157927e96d9676097f5244bdbe9ca3940f862637f30e079b22 |