Skip to main content

System dependency version checker.

Project description

Unix: Unix Build Status Windows: Windows Build StatusMetrics: Coverage Status Scrutinizer Code QualityUsage: PyPI Version PyPI Downloads

Overview

Verchew is an embeddable Python script to check the versions of your project’s system dependencies. Its only external dependency is a Python interpreter, available on macOS and most linux-based operating systems.

Setup

Requirements

  • Python 2.7+ or Python 3.3+

Installation

Install verchew with pip:

$ pip install verchew

or directly from the source code:

$ git clone https://github.com/jacebrowning/verchew.git
$ cd verchew
$ python setup.py install

Usage

Create a configuration file (.verchew) with your project’s system dependencies:

[Working Program]

cli = working-program
version = 1.2.

[Newer Working Program]

cli = working-program
version =  4.

[Broken Program]

cli = broken-program
version = 1.2.3

[Missing Program]

cli = missing-program
version = 1.2.3

Run verchew to see if you have the right versions installed:

$ verchew

Checking for Working Program...

$ working-program --version
1.2.3
 MATCHED: 1.2.

Checking for Newer Working Program...

$ working-program --version
1.2.3
 EXPECTED: 4.

Checking for Broken Program...

$ broken-program --version
An error occurred.
 EXPECTED: 1.2.3

Checking for Missing Program...

$ missing-program --version
sh: command not found: missing-program
 EXPECTED: 1.2.3

Results:    

Revision History

0.5 (unreleased)

  • Added --exit-code option to return non-zero exit codes on failure.

0.4 (2016/10/20)

  • Added support for custom version arguments.

  • Fixed handling of internal versions matches.

0.3 (2016/10/18)

  • Added support for detecting missing and broken programs.

0.2.1 (2016/10/18)

  • Now stripping whitespace after calling --version on a program.

0.2 (2016/10/17)

  • Added --version command.

0.1 (2016/10/17)

  • Initial release.

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

verchew-0.5b1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

verchew-0.5b1-py2-none-any.whl (11.2 kB view details)

Uploaded Python 2

File details

Details for the file verchew-0.5b1.tar.gz.

File metadata

  • Download URL: verchew-0.5b1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for verchew-0.5b1.tar.gz
Algorithm Hash digest
SHA256 9e533c5f248d1b4391fb630c3940e86020292eccd8efe43a62aa6599c7dbcf0e
MD5 e6fe9904bd9ebb3e8696e08d482e24bf
BLAKE2b-256 f4f10436c03bea6506d228932e410f00a569286ce7aabaff339d8caa63af0e7e

See more details on using hashes here.

File details

Details for the file verchew-0.5b1-py2-none-any.whl.

File metadata

File hashes

Hashes for verchew-0.5b1-py2-none-any.whl
Algorithm Hash digest
SHA256 b6bd24657948fc6a381fd317524fa21826fec84eb2667df671f9f59fea811e9b
MD5 a7a083c5b3bfb70ddc033c847c398a4c
BLAKE2b-256 abf64859d578b6b3f39e7d0c3805d7b8a3aa5bbe8a483d33c39f028be3bf0bb3

See more details on using hashes here.

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