docs: def get_metadata(session, name):
      """
      Gets meta data from launchpad for the given package.
      :param session: requests Session instance
      :param name: str, package
      :return: dict, meta data
      """
      resp = session.get(
          "https://api.launchpad.net/1.0/{}/releases".format(name))
      if resp.status_code == 200:
          return resp.json()
      return {}