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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be96e33b70a6f2bdfd2fd7218e974264d620de323b34e60ec5142b5422bdd69 |
|
MD5 | 37b6b470de4c1eda3493c6a40c7d7cd4 |
|
BLAKE2b-256 | 603d2a284dad9affdc75eb9e974d023dc3502a60cb9927adaf19a282729056ba |