Last updated:
0 purchases
pep440versioncomparecli 1.0.10
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.
Usage
$ pip install pep440-version-compare-cli
$ pep440cmp 1.0.0 lt 2.0.0
True
$ echo $?
0
$ pep440cmp 1.0.0rc4 lt 1.0.0a5 > /dev/null
$ echo $?
1
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.