``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.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pep440-version-compare-cli-1.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 594bb5d015f85106fd5c8403d4531190a6f52e77110205c2bf298116231bae07 |
|
MD5 | 15de31a1d12269064c7f34e12126850d |
|
BLAKE2b-256 | 7490331eb5acf4a67c317c7827f6891a47d22a16a0a8098983ba513c743cad54 |
Close
Hashes for pep440_version_compare_cli-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96610c19158fe797c81d98c140a6c665d428468c4e3c6ad7723bc202ac770e11 |
|
MD5 | 254972f873477ef3872ee89a02c3901e |
|
BLAKE2b-256 | b5c3458310a09ebbaf10d861ac7abf0156a374bebde67b54f6104339a9bae6e8 |