Metadata-Version: 2.0
Name: pip-lock
Version: 1.0.0
Summary: Check for differences between requirements.txt files and your environment.
Home-page: https://github.com/YPlan/pip-lock
Author: YPlan
Author-email: aaron@yplanapp.com
License: ISCL
Keywords: p,i,p,,, ,r,e,q,u,i,r,e,m,e,n,t,s,,, ,Y,P,l,a,n
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities

========
pip-lock
========

.. image:: https://img.shields.io/pypi/v/pip-lock.svg
        :target: https://pypi.python.org/pypi/pip-lock

.. image:: https://img.shields.io/travis/YPlan/pip-lock/master.svg
        :target: https://travis-ci.org/YPlan/pip-lock

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


Install
-------

Install with **pip**:

.. code-block:: python

    pip install pip-lock

Example usage
-------------

.. code-block:: python

    from pip_lock import check_requirements

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


.. code-block:: python

    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.


