code: def normalize_package_name(name):
      # This is taken from PEP 503
      return re.sub(r"[-_.]+", "-", name).lower()
  
imports: from __future__ import absolute_import, print_function, unicode_literals
  import glob
  import locale
  import os
  import re
  import socket
  import subprocess
  import sys
  import platform
  from io import open
  import pkg_resources
  from lore import ansi
label_desc: Use image node_id 16 for calling a global function with example usage: normalize_package_name(name) and returns: re