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/python/setuptools/py3/setuptools/_distutils/command/install_egg_info.py
imports: import os
  import sys
  import re
  from ..cmd import Command
  from ..None import dir_util
  from .._log import log
label_desc: Use image node_id 1 for calling a global function with example usage: safe_name(name) and returns: re