This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Check your requirements for proper PEP 438 usage.

Project Description

pep438

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.

Changes

0.5.0

  • Pin requirements-parser to version 0.4.0

0.4.0

  • Add --errors-only flag for only displaying problems
  • Add --user flag for showing all packages from a given PyPI user
  • Fix dependency reqfile-parser is now requirements-parser
  • Fix incorrect link counts and count URLs instead

0.3.0

  • Improve error message when package not hosted on PyPI
  • Improve README

0.2.0

  • Raise exception when package not hosted on PyPI

0.1.0

Initial release.

Release History

Release History

This version
History Node

0.5.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pep438-0.5.0.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source May 29, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting