``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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2daa6ce534167ce3f4e87c88038c6321e162bf9a463285b09fc611eee80376 |
|
MD5 | bebd122c567fe382dd463e6ba70f147b |
|
BLAKE2b-256 | 5614583a22c4c688a714bae8cbeaa557d02ade71b2d67aece85c958fb6f46977 |
Close
Hashes for pep440_version_compare_cli-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839b905b5caad7f25f406a8405b401e3f6f660d1a552b1a1f958d0064b7dabd7 |
|
MD5 | 029c4641f691e70dcaa607a6cc7e2937 |
|
BLAKE2b-256 | 628e094f808866e44f485f143fd84f464e86f3d08033be19ef4361591c18482c |