Skip to main content

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

Project description

Build Status Coverage Status Documentation Status GitHub Release Status PyPI Release Status License Status

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.

Source Distribution

pep440-version-compare-cli-1.0.10.tar.gz (2.8 MB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page