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.

Travis CI AppVeyor Coverage Status Scrutinizer Code Quality PyPI License PyPI Version PyPI Downloads

Setup

Requirements

  • Python 2.7+ or Python 3.3+

Installation

Install verchew globally with pipx (or pip):

$ pipx install verchew

or add it to your Poetry project:

$ poetry add 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 (OPTIONAL): 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-3.4.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

verchew-3.4-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: verchew-3.4.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.16 Darwin/22.5.0

File hashes

Hashes for verchew-3.4.tar.gz
Algorithm Hash digest
SHA256 b282f2bf16e7d3bdd8e29d721bed283507a2ef19b58b90ec88e88c37dd2f35e0
MD5 ea36c4110e6b5075f819d3d9df00a811
BLAKE2b-256 3ebbffc68a292bc2eb3351e29e1ec06224b6bb6762a81ccfee51957ce85efbdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: verchew-3.4-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.16 Darwin/22.5.0

File hashes

Hashes for verchew-3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 970763ca42e71c10c79ca9e804020e2fbadd8e12c30f89de5e607de06e0a48ca
MD5 b70f13d12bd1c9a82b853230dc88d5ec
BLAKE2b-256 a7109ef0c191393c1d8b74a37db89c8d80e9c7b581e2525f35090ce18cc2f2cf

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