Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pypinner-0.0.5-py2.py3-none-any.whl (6.6 kB) Copy SHA256 hash SHA256 Wheel 3.6
pypinner-0.0.5.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page