def safe_name(name):
    return re.sub('[^A-Za-z0-9.]+', '-', name)
Convert an arbitrary string to a standard distribution name
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/distutils/command/install_egg_info.py/safe_name