def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def _on_item_button_remove_clicked(self, button, item):
    self.remove_item(item)