def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def __setitem__(self, key, value):
        self._collection[key] = self._from_python(key, value)