code: def find_meta(*meta_file_parts, meta_key):
      
      meta_file = read(*meta_file_parts)
      meta_match = re.search(r"^__{}__ = ['\"]([^'\"]*)['\"]".format(meta_key),
                             meta_file, re.M)
      if meta_match:
          return meta_match.group(1)
      raise RuntimeError("Unable to find __{}__ string.".format(meta_key))
docs: Extract __*meta*__ from meta_file.