def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def chart_title(self):
        """Returns a title for the chart."""
        if self.field:
            return 'Top filtered results for "{0:s}"'.format(self.field)
        return 'Top results for an unknown field after filtering'