def underscore_to_camel(name):
    """convert a snake case string to camel case"""
    string_list = name.strip('_').split('_')
    result = string_list[0].lower()
    for s in string_list[1:]:
        result = '{0}{1}'.format(result, s.title())
    return result