def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def items(self):
        for key, value in self._collection.items():
            yield key, self._to_python(value)