Skip to main content

A simple package with utils to check whether versions number match PEP 440.

Project description

A simple package with utils to check whether versions number match Pep 440

Example:

>>> from pep440 import is_canonical
>>> is_canonical('4.1.0')
True

>>> is_canonical('4.2.1.beta2')  # 4.2.1b2 is correct
False

For a bigger dependencies with more utilities see PyPA Packaging (version submodule)

Project details


Download files

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

Files for pep440, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pep440-0.1.0-py2.py3-none-any.whl (6.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pep440-0.1.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page