Skip to main content

System dependency version checker.

Project description

Overview

...chews through your system dependencies, spitting out incompatible versions.

When onboarding new team members, ensuring their computer has everything needed to work on the project can be painful. Verchew is a command-line program and embeddable Python script to check the versions of your project's system dependencies. Its only external dependency is any Python interpreter, which should already be installed on macOS and most Linux-based operating systems.

Unix Build Status Windows Build Status Coverage Status Scrutinizer Code Quality PyPI Version PyPI License

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

or embedded the script in your project using this guide.

Usage

Run verchew --init to generate a sample configuration file.

Update this file (verchew.ini) to include your project's system dependencies:

[Working Program]

cli = working-program
version = 1.2

[Newer Working Program]

cli = working-program
versions =  4.1 | 4.2
message = Version 4.x is required to get the special features.

[Broken Program]

cli = broken-program
version = 1.2.3

[Optional Missing Program]

cli = missing-program
version = 1.2.3
optional = true

[Missing Program]

cli = missing-program
version = 1.2.3

Run verchew to see if you have the expected 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.1 | 4.2
⭑ MESSAGE: Version 4.x is required to get the special features.

Checking for Broken Program...

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

Checking for Optional Missing Program...

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

Checking for Missing Program...

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

Results: ✔ ✘ ✘ ⚠ ✘

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-1.6.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

verchew-1.6.2-py2.py3-none-any.whl (18.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file verchew-1.6.2.tar.gz.

File metadata

  • Download URL: verchew-1.6.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/2.7.13 Darwin/18.2.0

File hashes

Hashes for verchew-1.6.2.tar.gz
Algorithm Hash digest
SHA256 df0492bcb0314ef1108aa9a232c3c194d3363c2d8e9ab320093e5eea9736e4c4
MD5 76aa7f85a5b4789267230c9a6719a890
BLAKE2b-256 41d700b33327cfcdf200573f04afd06a3b6f7d07edc080c7c6bf5d4583b8dd6d

See more details on using hashes here.

File details

Details for the file verchew-1.6.2-py2.py3-none-any.whl.

File metadata

  • Download URL: verchew-1.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/2.7.13 Darwin/18.2.0

File hashes

Hashes for verchew-1.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f66c5fdab367417136bc692b673109f3a86cc5fdf62caa30ebb39c4adbe3323
MD5 bd71629849c3d37aff6c1d5d3af318e7
BLAKE2b-256 d990625a3bcd9f591f261954705917c3af3ceef2c8828d3d65dace934416e9c6

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