Metadata-Version: 2.1
Name: lock-requirements
Version: 0.1.1
Summary: A CLI tool to update your requirements.txt file package versions to be locked/fixed to the latest versions available on PyPI.
Home-page: UNKNOWN
Author: Richard O'Dwyer
Author-email: richard@richard.do
License: Apache 2.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Requires-Dist: requirements-parser (<1.0.0,>=0.2.0)
Requires-Dist: pypi-simple (<1.0.0,>=0.4.0)
Requires-Dist: docopt (<1.0.0,>=0.5.0)
Requires-Dist: wheel

**NOTICE**: If you're reading this on GitHub.com please be aware this is a mirror of the primary remote located at https://code.richard.do/richardARPANET/lock-requirements.
Please direct issues and pull requests there.

# lock-requirements

A CLI tool to update your requirements.txt file package versions to be locked/fixed to the latest versions available on PyPI.

#### For example

Input file contents before locking:

```
requirements-parser
pypi-simple>=0.4.0,<1.0.0
docopt>=0.5.0,<1.0.0
wheel
```

Input file contents after locking:

```
requirements-parser==0.2.0
pypi-simple==0.4.0
docopt==0.6.2
wheel==0.32.3
```

## Installation

```
pip install lock-requirements
```

## Usage

```
lock requirements.txt
lock requirements-dev.txt
```

Use a custom PyPI simple index url to retrieve latest package versions from.

```
lock requirements.txt --index-url=https://example.com/simple/
```

## Development Installation

```
pip install -r requirements-dev.txt
python setup.py develop
```

And to the run tests:

```
tox
```


