def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def comment_urlview(self):
        data = self.get_selected_item()
        comment = data.get('body') or data.get('text') or data.get('url_full')
        if comment:
            self.term.open_urlview(comment)
        else:
            self.term.flash()