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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

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

Hashes for pypinner-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fe021067a6b0e8f995c555b302da41d269fae66e09cbf056994368f58e610930
MD5 c1a1dac8e140a663a41fe1747962f2dd
BLAKE2b-256 5be02ca2e5c48172c1c608f4d0e4cd7cf9cd3fa476e03870f51af8b848c3d2e6

See more details on using hashes here.

File details

Details for the file pypinner-0.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pypinner-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a67ac6556a6e4b45efd1027fc527ae0f00d2ccba90de40b28c92f54ef5e84d58
MD5 d6b260285902df3bd7a601d9afba5c5d
BLAKE2b-256 c300a7d2414ca28bc30dfa5f2ec982d92c132ba25f972e2179d46a7c88d212cb

See more details on using hashes here.

Supported by

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