code: def safe_name(name):
      """Convert an arbitrary string to a standard distribution name
  
      Any runs of non-alphanumeric/. characters are replaced with a single '-'.
      """
      return re.sub("[^A-Za-z0-9.]+", "-", name)
  
file_path: catboost/contrib/tools/python3/src/Lib/distutils/command/install_egg_info.py
imports: from distutils.cmd import Command
  from distutils import log, dir_util
  import os, sys, re
label_desc: Use image node_id 1 for calling a global function with example usage: safe_name(name) and returns: re