def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def remove_item_widget(self):
    self._hbox.remove(self._item_widget)