def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def looks_like_hash(sha):
    return bool(HASH_REGEX.match(sha))