Skip to main content

``pkg_resources`` wrapper to compare versions using PEP 440 rules from the command line.

Project description

A CLI wrapper around pkg_resources to compare versions using PEP 440 rules (i.e., not SemVer rules).

This is especially important for comparing alpha versions when releasing to PyPI.


$ pip install pep440-version-compare-cli

$ pep440cmp 1.0.0 lt 2.0.0
$ echo $?

$ pep440cmp 1.0.0rc4 lt 1.0.0a5 > /dev/null
$ echo $?

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-compare-cli, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pep440_version_compare_cli-1.0.0-py3-none-any.whl (9.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pep440-version-compare-cli-1.0.0.tar.gz (30.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page