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 globally with pip:

$ pip install verchew

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
version =  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-2.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

verchew-2.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: verchew-2.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0b1 CPython/3.7.2 Darwin/19.0.0

File hashes

Hashes for verchew-2.0.tar.gz
Algorithm Hash digest
SHA256 dd67f21d37a8d7d49d1c10f0913bf4f2374a2da29dd04f967c2c9beb0d3c9161
MD5 238952e99c101f250cda656a6f1f2caf
BLAKE2b-256 82dbd50db7f2dd6a8b1060ab915e9f50686b954d8e8f05cb9cc8eb4c288ef7e6

See more details on using hashes here.

File details

Details for the file verchew-2.0-py3-none-any.whl.

File metadata

  • Download URL: verchew-2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0b1 CPython/3.7.2 Darwin/19.0.0

File hashes

Hashes for verchew-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df4ae9ca2419e504c1c0ad53a309ffcac3468bf682be5b9cd4a2f0b607459b30
MD5 59e6ad171fb902a395634b36078f2b44
BLAKE2b-256 cc14150a6c6ceb3c1df588a9d432cd44f20b396c821f1b571778202b0d22ff39

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