Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

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

Project details


Release history Release notifications

This version

1.0

Download files

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

Files for pinner, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pinner-1.0-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size pinner-1.0.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View hashes

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