pep440-version-compare-cli 1.0.10

Last updated:

0 purchases

pep440-version-compare-cli 1.0.10 Image
pep440-version-compare-cli 1.0.10 Images
Add to Cart

Description:

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.