Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verify_version_spec-0.0.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page