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
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.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for pip_lock-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4de184fc8393fb00043759e8b629943abe89ecd06b3ad30864a71b413405379 |
|
MD5 | d63d5ebe912f0d6bb1ca8467282f2231 |
|
BLAKE2b-256 | 93a7c3daa36968a8a59888e4f799fcc1af9fdb2dd08f3a2f810fe3ff9a0eda83 |