def snake_to_camel(snake_str):
    '''
    Convert `snake_str` from snake_case to camelCase
    '''
    components = snake_str.split('_')
    if len(components) > 1:
        camel = (components[0].lower() +
                 ''.join(x.title() for x in components[1:]))
        return camel
    # Not snake_case
    return snake_str
Convert `snake_str` from snake_case to camelCase