code: def base_name(self, name):
          
          base_name = name.replace('.', "-")
          # remove python prefix if present
          found_prefix = self.reg_start.search(name)
          if found_prefix:
              base_name = found_prefix.group(2)
  
          # remove -pythonXY like suffix if present
          found_end = self.reg_end.search(name.lower())
          if found_end:
              base_name = found_end.group(1)
  
          return base_name
docs: Removes any python prefixes of suffixes from name if present.