Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Check packages in your requirements.txt file for good PEP 438 usage
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
pep438
.coveragerc
.editorconfig
.gitignore
.travis.yml
AUTHORS.rst
CHANGES.rst
CONTRIBUTING.rst
LICENSE
MANIFEST.in
Makefile
README.rst
main.py
setup.py
test_pep438.py
tox.ini

README.rst

pep438

https://secure.travis-ci.org/treyhunner/pep438.png?branch=master https://coveralls.io/repos/treyhunner/pep438/badge.png?branch=master https://pypip.in/v/pep438/badge.png https://requires.io/github/treyhunner/pep438/requirements.png?branch=master

Check packages in your requirements file for proper usage of the PEP 438 tools.

This online PEP 438 checker is also great.

Installation

The script is available on PyPI. To install with pip:

$ sudo pip install pep438

Usage

Check individual packages:

$ pep438 django pillow
✓ django: 0 links
✗ pillow: 360 links

Check requirements file:

$ pep438 -r requirements.txt
✓ django: 0 links
✗ south: 1 links
✓ django-model-utils: 0 links
✓ django-simple-history: 0 links
✓ django-email-log: 0 links

Check packages of a pypi user:

$ pep438 -u treyhunner
✓ Pycco: 0 links
✓ Pycco: 0 links
✓ EditorConfig: 0 links
✓ names: 0 links
✓ django-simple-history: 0 links
✓ django-localflavor-us: 0 links
✓ django-email-log: 0 links
✓ django-relatives: 0 links
✓ pep438: 0 links

Check piped input:

$ cat *-requirements.txt | pep438
✓ django: 0 links
✗ south: 1 links
✓ django-model-utils: 0 links
✓ django-simple-history: 0 links
✓ django-email-log: 0 links

Contributing

Pull requests are welcome. Please read the CONTRIBUTING file for tips on submitting pull requests.

License

This project is released under an MIT License.

Bitdeli badge
Something went wrong with that request. Please try again.