def valid_name(name):
    """
    Replace dashes and underscores by spaces, and lowercase.

    >>> valid_name('TALOS_Metapkg-ros_control_sot')
    'talos metapkg ros control sot'
    """
    return name.replace('_', ' ').replace('-', ' ').lower()