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


Release history Release notifications

This version
History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
verify_version_spec-0.0.2.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None Nov 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page