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.

Files for pypinner, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pypinner-0.0.5-py2.py3-none-any.whl (6.6 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size pypinner-0.0.5.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page