Skip to main content

Ensure requirements.txt files reflect versions in pip freeze.

Project description

PyPinner
========

Ensure requirements.txt files reflect versions in pip freeze.

Command Line Usage
------------------

```
Ensure requirements.txt files reflect versions in pip freeze.
Finds requirements*.txt files recursively and fixes them.

Usage:
pypinner
pypinner -f <frozen_requirements.txt>
pypinner (-h | --help)
pypinner --version

Options:
-h --help Show this screen.
--version Show version.
```

Example
-------

```
$pypinner
Leaving: ./requirements_test.txt flake8==3.5.0
Leaving: ./requirements_test.txt pytest==3.3.1
Leaving: ./requirements_test.txt pytest-flake8==0.9.1
Leaving: ./requirements_test.txt pytest-isort==0.1.0
Leaving: ./requirements_test.txt pytest-bdd==2.19.0
Leaving: ./requirements_test.txt flake8-isort==2.2.2
Leaving: ./requirements_test.txt pytest-cov==2.5.1
Leaving: ./requirements_test.txt
Pinning: ./requirements.txt docopt==0.6.2

```

```
$pypinner -f frozen_requirements.txt
Leaving: ./requirements_test.txt flake8==3.5.0
Leaving: ./requirements_test.txt pytest==3.3.1
...
```

Installation
------------

* python setup.py install

* pip install pypinner

Test
----

* python setup.py test

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

pypinner-0.0.5.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

pypinner-0.0.5-py2.py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page