code: def snake_to_camel_case(snake_input, uppercamel=False):
      '''
      Converts snake_case to camelCase (or CamelCase if uppercamel is ``True``).
      Inspired by https://codereview.stackexchange.com/questions/85311/transform-snake-case-to-camelcase
  
      :param str snake_input: The input snake_case string to convert to camelCase
      :param bool uppercamel: Whether or not to convert to CamelCase instead
  
      :return str
      '''
      words = snake_input.split('_')
      if uppercamel:
          words[0] = words[0].capitalize()
      return words[0] + ''.join(word.capitalize() for word in words[1:]f snake_to_camel_case(snake_input, uppercamel=False):
      '''
      Converts snake_case to camelCase (or CamelCase if uppercamel is ``True``).
      Inspired by https://codereview.stackexchange.com/questions/85311/transform-snake-case-to-camelcase
  
      :param str snake_input: The input snake_case string to convert to camelCase
      :param bool uppercamel: Whether or not to convert to CamelCase instead
  
      :return str
      '''
      words = snake_input.split('_')
      if uppercamel:
          words[0] = words[0].capitalize()
      return words[0] + ''.join(word.capitalize() for word in words[1:])
docs: Converts snake_case to camelCase (or CamelCase if uppercamel is ``True``).
      Inspired by https://codereview.stackexchange.com/questions/85311/transform-snake-case-to-camelcase
  
      :param str snake_input: The input snake_case string to convert to camelCase
      :param bool uppercamel: Whether or not to convert to CamelCase instead
  
      :return str