def snake_to_camel ( value ) : camel = "" . join ( word . title ( ) for word in value . split ( "_" ) ) return value [ : 1 ] . lower ( ) + camel [ 1 : ]
python covert string to camel case
Converts a snake_case_string to a camelCaseString .
def snake_to_camel(value):
    """
    Converts a snake_case_string to a camelCaseString.

    >>> snake_to_camel("foo_bar_baz")
    'fooBarBaz'
    """
    camel = "".join(word.title() for word in value.split("_"))
    return value[:1].lower() + camel[1:]