def import_name_to_name_version(import_name):
    """Convert the import name to a name and version.

    Args:
        import_name (str): Import name with a version (Ex: "custom_0_0_0")

    Returns:
        name (str): Just the package name (Ex: "custom")
        version (str)[None]: Version of the package (Ex: "0.0.0")
    """
    s = str(import_name).split('_')
    for i, n in enumerate(s):
        if len(n) > 0 and n.isdigit():
            return '_'.join(s[:i]), '.'.join(s[i:])

    return import_name, None