def class_name_extract(class_full_name):
    """
    extract class name to write import
    Examples:
        >>> class_name_extract('redis.client.StrictRedis')
        ('redis.client', 'StrictRedis')
    """
    class_split = class_full_name.split('.')
    module_name = '.'.join(class_split[:-1])
    class_name = class_split[-1]

    return module_name, class_name