code: def canonicalize_name(name):
      # This is taken from PEP 503.
      return _canonicalize_regex.sub("-", name).lower()
  
imports: from __future__ import absolute_import, division, print_function
  import re
  from .version import InvalidVersion, Version
label_desc: Use image node_id 1 for calling a global function with example usage: canonicalize_name(name) and returns: _canonicalize_regex