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
========
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file pypinner-0.0.5.tar.gz
.
File metadata
- Download URL: pypinner-0.0.5.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe021067a6b0e8f995c555b302da41d269fae66e09cbf056994368f58e610930 |
|
MD5 | c1a1dac8e140a663a41fe1747962f2dd |
|
BLAKE2b-256 | 5be02ca2e5c48172c1c608f4d0e4cd7cf9cd3fa476e03870f51af8b848c3d2e6 |
File details
Details for the file pypinner-0.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: pypinner-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a67ac6556a6e4b45efd1027fc527ae0f00d2ccba90de40b28c92f54ef5e84d58 |
|
MD5 | d6b260285902df3bd7a601d9afba5c5d |
|
BLAKE2b-256 | c300a7d2414ca28bc30dfa5f2ec982d92c132ba25f972e2179d46a7c88d212cb |