def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def matchfn(self, f):
        for match in self._matchers:
            if match(f):
                return True
        return False