Skip to main content
https://img.shields.io/travis/coagulant/pinner.svg https://img.shields.io/pypi/v/pinner.svg https://img.shields.io/badge/licence-BSD-blue.svg

A tiny console script to verify you have pinned all of your python requirements.

Why you should specify exact version in requirements.txt

Example:

$ cat requirements.txt
PIL
coveralls>=1.0a1
responses==0.3.0
git+https://github.com/miracle2k/django-assets.git@master#egg=django_assets
-e git+git://github.com/miracle2k/webassets.git@9956fb86c1c750672324b2c95c9a464a0ef11a4f#egg=webassets
git+https://github.com/fcurella/django-recommends.git#egg=django_recommends

$ pinner
./requirements.txt:1:1: R001 Dependency PIL not pinned
./requirements.txt:2:1: R002 Dependency coveralls should be pinned to exact version
./requirements.txt:4:1: R004 VCS dependency django_assets specifies branch/tag, commit expected
./requirements.txt:6:1: R003 VCS dependency django_recommends lacks revision specifier
[4]

You can use it in your commit hook or CI tests

Changelog

0.1.0 (2015-03-01)

  • First release on PyPI

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pinner-1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

pinner-1.0-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pinner-1.0.tar.gz.

File metadata

  • Download URL: pinner-1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pinner-1.0.tar.gz
Algorithm Hash digest
SHA256 5b9ca976ff5f08574f881fe673dd972d01645304581e8979746733f131c0100b
MD5 9a1d4b1ea14620885e9e90abc63b04c8
BLAKE2b-256 5d32f5c2fcc3cde929d14c2007551739cf13342de6b4c9e6cfe8d2f884e9cee5

See more details on using hashes here.

File details

Details for the file pinner-1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pinner-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f805c19fafdd20623d894f55383085b791f9de1516d160affd24d0cec356a0b0
MD5 80a3e2bebd6d2f163dbd1ccfc23f095e
BLAKE2b-256 e0a735234126a60855016fb2c229fddc2d2255375a99fb4c990b1719827b6052

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0 This release

2 files

Supported by

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