def conventional_naming(st: str, is_package=True) -> str:
    """If st is not a package name then conventional_naming
    treats it as a project name.

    Parameters
    ----------
    st : str
        Underscores are allowed. No spaces are allowed.
    is_package : bool, optional
        Considered project if not package, by default True

    Returns
    -------
    str
        String with underscores removed.
    """
    res = ''.join(st.split("_")).lower()
        
    if is_package:
        return res
    else:
        return res.capitalize()