Example #1
0
def slugify(text: str) -> str:
    """
    Convert text to computer-friendly simplified form.


    Arguments
    ---------
    text : str
        String to operate on.


    Returns
    -------
    str
        Converted string.
    """
    return _dash_slugify(text).replace("-", "_")
Example #2
0
def slugify(original):
    return _dash_slugify(original).replace("-", "_")