vcheck.CheckMod

class vcheck.CheckMod(mod)[source]

A class containing the main information on a module for version checking.

Parameters:

mod : module

An object which is a Python module.

Attributes

hexsha The hex sha1 of the git repo of the main module.
mainmod The root module being checked.
mainmod_path The path to the root module being checked.
mod The module being checked.
repo Object representing the git repo of the main module.
version The version of the main module.

Methods

vcheck(hexsha, version) Checks to see if the module matches the version requested.