def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def _scale_vars(s, v_list):
  """Scale all variables in v_list by s."""
  return [s * v for v in v_list]