def _normalise_service_name(name):
    """
    To be able to safely compare service names. The output is not meant to be human-readable.

    Copied from `upload_draft_service_pdfs.py`
    """
    return (
        name.lower()
        .replace("-", "")
        .replace("_", "")
        .replace(":", "")
        .replace(" ", "")
        .replace(".csv", "")
    )