def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def memoized(*args):
        try:
            return stored_results[args]
        except KeyError:
            result = stored_results[args] = fn(*args)
            return result