Verify that a version specification matches a version string.
Project description
# verify_version_spec
Verify that a version specification matches a version string.
This is mainly used to check that a version returned from a command line program is within a version specification like: “>=0.9,<0.10”. It uses the [semantic_version](https://pypi.python.org/pypi/semantic_version/2.3.0) library which implements the [SemVer scheme](http://semver.org/).
## Usage
To verify that the target version “1.2.3” is within the specification “>=1.2”.
$ verify_version_spec --spec=">=1.2" 1.2.3
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
Close
Hashes for verify_version_spec-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4efc8780dd85d9dbcb8812d3990c450e22c48bc8e3f72d80bf1153703c73f821 |
|
MD5 | 9aa6fd4f106af04f519f49b76b704b5c |
|
BLAKE2b-256 | 21835e025dd84b62e3bddda5ad215c2c4d191c9cb55ed84e1312bcadeefbfb35 |