Skip to main content

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://pypip.in/d/pep438/badge.png

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 files for pep438 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pep438 0.5.0
File Size Uploaded
pep438-0.5.0.tar.gz 5.5 kB Details

Release files / pep438-0.5.0.tar.gz

Download URL pep438-0.5.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3b204f5195ca78d7521c3bc8d46bb20a17a9ce4fb70a21687fafbdff24591200
BLAKE2b-256 checksum
How to use checksums
dda337d30d9ccc54f547c2f41276cf13b0fb72ea28a207e244e71075c42ed929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page