code: def main(unused_argv=None):
      assets = []
      for url in FLAGS.urls.split(";"):
          for m in CSS_PATTERN.finditer(open_url(url).read()):
              assets.append(m)
      assets.sort(
          key=lambda m: (
              m.group("family"),
              m.group("name"),
              m.group("language"),
          )
      )
  
      sys.stdout.write(
          "filegroup_external(\n"
          '    name = "%s",\n'
          '    licenses = ["%s"],  # %s\n'
          "    sha256_urls = {\n"
          % (FLAGS.repo, FLAGS.license, FLAGS.license_summary)
      )
  
      css = []
      for m in assets:
          css.append(get_css(m))
          sys.stdout.write(
              "        # %s (%s)\n"
              '        "%s": [\n'
              '            "%s",\n'
              '            "%s",\n'
              "        ],\n"
              % (
                  m.group("name"),
                  m.group("language") or "all",
                  get_sha256(open_url(m.group("url"))),
                  get_mirror_url(m.group("url")),
                  m.group("url"),
              )
          )
  
      sys.stdout.write(
          "    },\n"
          '    generated_rule_name = "files",\n'
          '    extra_build_file_content = "\\n".join([\n'
      )
      result = []
      add_inline_file(
          result, get_extra_build_file_content(get_html_file(css))
      )
      for line in result:
          sys.stdout.write(line + "\n")
      sys.stdout.write("    ]),\n" ")\n\n")
  
file_path: tensorboard/tensorboard/tools/import_google_fonts.py
imports: import hashlib
  import httplib
  import os
  import re
  import sys
  import urlparse
  from absl import app
  from absl import flags
label_desc: Use image node_id 9 for calling a global function with example usage: main(unused_argv) without return types