Skip to main content
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.

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

Metadata

Release files for pep440-version-compare-cli 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pep440-version-compare-cli 1.0.10
File Size Uploaded Provenance
pep440-version-compare-cli-1.0.10.tar.gz 2.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pep440-version-compare-cli 1.0.10
File Interpreter ABI Platform
pep440_version_compare_cli-1.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / pep440-version-compare-cli-1.0.10.tar.gz

Download URL pep440-version-compare-cli-1.0.10.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
594bb5d015f85106fd5c8403d4531190a6f52e77110205c2bf298116231bae07
BLAKE2b-256 checksum
How to use checksums
7490331eb5acf4a67c317c7827f6891a47d22a16a0a8098983ba513c743cad54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.8.3

Release files / pep440_version_compare_cli-1.0.10-py3-none-any.whl

Download URL pep440_version_compare_cli-1.0.10-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96610c19158fe797c81d98c140a6c665d428468c4e3c6ad7723bc202ac770e11
BLAKE2b-256 checksum
How to use checksums
b5c3458310a09ebbaf10d861ac7abf0156a374bebde67b54f6104339a9bae6e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.8.3

Security for pep440-version-compare-cli 1.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page